ConfigurationBasedIssuerNameRegistry::GetIssuerName Method (SecurityToken^)
Returns the issuer name associated with the specified X509SecurityToken by mapping the certificate thumbprint to a name in the trusted issuers dictionary.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Parameters
- securityToken
-
Type:
System.IdentityModel.Tokens::SecurityToken^
The security token for which the issuer name is requested. Should be assignable as X509SecurityToken.
Return Value
Type: System::String^The issuer name if an entry for the certificate thumbprint of the token exists in the ConfiguredTrustedIssuers dictionary; otherwise, null.
| Exception | Condition |
|---|---|
| ArgumentNullException | securityToken is null. |
The default implementation searches the ConfiguredTrustedIssuers dictionary for the thumbprint of the X.509 certificate specified in securityToken. If an entry is found, the issuer name is returned; otherwise, null is returned. If securityToken is not assignable from X509SecurityToken, null is returned.
Available since 4.5