Język

Saml2SecurityTokenHandler.CreateIssuerNameIdentifier Metoda

Definicja

Tworzy identyfikator nazwy identyfikujący wystawcę asercji.

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

Parametry

tokenDescriptor
SecurityTokenDescriptor

Deskryptor tokenu.

Zwraca

A Saml2NameIdentifier using tokenDescriptor. Emitenta.

Wyjątki

Jeśli tokenDescriptor wartość ma wartość null.

Jeśli tokenDescriptor. Wystawca ma wartość null lub jest pusta.

Uwagi

Używa tokenDescriptor.Issuer.

Dotyczy