Επεξεργασία

Κοινή χρήση μέσω


SamlSecurityTokenHandler.ResolveIssuerToken Method

Definition

Resolves the Signing Key Identifier to a SecurityToken.

protected:
 virtual System::IdentityModel::Tokens::SecurityToken ^ ResolveIssuerToken(System::IdentityModel::Tokens::SamlAssertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver);
protected virtual System.IdentityModel.Tokens.SecurityToken ResolveIssuerToken (System.IdentityModel.Tokens.SamlAssertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver);
abstract member ResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
override this.ResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function ResolveIssuerToken (assertion As SamlAssertion, issuerResolver As SecurityTokenResolver) As SecurityToken

Parameters

assertion
SamlAssertion

The SamlAssertion for which the Issuer token is to be resolved.

issuerResolver
SecurityTokenResolver

The current SecurityTokenResolver associated with this handler.

Returns

A SecurityToken that represents the resolved token.

Exceptions

assertion is null.

The handler is unable to resolve the token.

Applies to