แก้ไข

แชร์ผ่าน


Saml2SecurityTokenHandler.ResolveIssuerToken Method

Definition

Resolves the Signing Key Identifier to a SecurityToken.

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

Parameters

assertion
Saml2Assertion

The Saml2Assertion 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