IssuerNameRegistry.GetIssuerName Method (SecurityToken, String)

.NET Framework (current version)

When overridden in a derived class, returns the name of the issuer of the specified security token. The specified issuer name may be considered in determining the issuer name to return.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public virtual string GetIssuerName(
	SecurityToken securityToken,
	string requestedIssuerName


Type: System.IdentityModel.Tokens.SecurityToken

The security token for which to return the issuer name.

Type: System.String

An issuer name to consider in the request.

Return Value

Type: System.String

The issuer name.

The default implementation ignores the requestedIssuerName parameter and simply calls the IssuerNameRegistry.GetIssuerName(SecurityToken) method.

Called from the processing pipeline by the security token handler that is processing the token. The method should return a unique name for the issuer within the context of the RP application.

.NET Framework
Available since 4.5
Return to top