Compartilhar via


Saml2SecurityTokenHandler.CreateIssuerNameIdentifier Method

Definition

Creates a name identifier that identifies the assertion issuer.

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

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor.

Returns

A Saml2NameIdentifier using tokenDescriptor.Issuer.

Exceptions

If tokenDescriptor is null.

If tokenDescriptor.Issuer is null or empty.

Remarks

Uses tokenDescriptor.Issuer.

Applies to