다음을 통해 공유


Saml2SecurityTokenHandler.CreateIssuerNameIdentifier 메서드

정의

어설션 발급자를 식별하는 이름 식별자를 만듭니다.

protected:
 virtual System::IdentityModel::Tokens::Saml2NameIdentifier ^ CreateIssuerNameIdentifier(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2NameIdentifier CreateIssuerNameIdentifier (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateIssuerNameIdentifier : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2NameIdentifier
override this.CreateIssuerNameIdentifier : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2NameIdentifier
Protected Overridable Function CreateIssuerNameIdentifier (tokenDescriptor As SecurityTokenDescriptor) As Saml2NameIdentifier

매개 변수

tokenDescriptor
SecurityTokenDescriptor

이름 식별자를 만들 토큰 설명자입니다.

반환

이름 ID를 나타내는 Saml2NameIdentifier입니다.

예외

tokenDescriptornull입니다.

설명

SAML2 어설션에는 발급자의 이름 식별자가 포함되어야 합니다. 이 메서드는 를 반환 null하지 않을 수 있습니다.

기본 구현은 의 tokenDescriptor속성에서 TokenIssuerName 간단한 이름 식별자를 만듭니다.

적용 대상