Edit

Share via


SamlSecurityTokenHandler.TryResolveIssuerToken Method

Definition

Resolves the Signing Key Identifier to a SecurityToken.

protected:
 virtual bool TryResolveIssuerToken(System::IdentityModel::Tokens::SamlAssertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected virtual bool TryResolveIssuerToken (System.IdentityModel.Tokens.SamlAssertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver, out System.IdentityModel.Tokens.SecurityToken token);
abstract member TryResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
override this.TryResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
Protected Overridable Function TryResolveIssuerToken (assertion As SamlAssertion, issuerResolver As SecurityTokenResolver, ByRef token As SecurityToken) As Boolean

Parameters

assertion
SamlAssertion

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

issuerResolver
SecurityTokenResolver

The current SecurityTokenResolver associated with this handler.

token
SecurityToken

When this method returns, contains the resolved security token if a token was successfully resolved.

Returns

true if the token is resolved.

Applies to