Saml2SecurityTokenHandler.CreateIssuerNameIdentifier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk