Saml2SecurityTokenHandler.CreateAuthenticationStatement 메서드

정의

지정된 인증 정보에서 SAML 2.0 인증 문을 만듭니다.

protected:
 virtual System::IdentityModel::Tokens::Saml2AuthenticationStatement ^ CreateAuthenticationStatement(System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2AuthenticationStatement CreateAuthenticationStatement(System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
override this.CreateAuthenticationStatement : System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As Saml2AuthenticationStatement

매개 변수

authInfo
AuthenticationInformation

AuthenticationInformation 개체로 래핑할 상태를 포함하는 개체입니다Saml2AuthenticationStatement.

tokenDescriptor
SecurityTokenDescriptor

토큰 설명자입니다.

반품

Saml2AuthenticationStatement 만들려는 어설션에 추가하거나 null 개체를 무시 AuthenticationInformation 하려면(SAML 2.0 인증 문을 만들지 않음)

예외

tokenDescriptornull입니다.

-또는-

Subject tokenDescriptor 속성은 null.

(tokenDescriptor속성)의 Subject 주체는 클레임 유형이 하나 AuthenticationInstant 이거나 AuthenticationMethod 각 형식의 클레임을 하나 이상 포함하지 않는 클레임을 포함합니다.

-또는-

주체 tokenDescriptor 가 지정한 인증 방법은 절대 URI로 확인할 수 없습니다.

적용 대상