Saml2SecurityTokenHandler.CreateAuthenticationStatement 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 인증 정보에서 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 인증 문을 만들지 않음)
예외
(tokenDescriptor속성)의 Subject 주체는 클레임 유형이 하나 AuthenticationInstant 이거나 AuthenticationMethod 각 형식의 클레임을 하나 이상 포함하지 않는 클레임을 포함합니다.
-또는-
주체 tokenDescriptor 가 지정한 인증 방법은 절대 URI로 확인할 수 없습니다.