Επεξεργασία

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


Saml2SecurityTokenHandler.TryResolveIssuerToken Method

Definition

Resolves the Signing Key Identifier to a SecurityToken.

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

Parameters

assertion
Saml2Assertion

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