Saml2SecurityTokenHandler.TryResolveIssuerToken Method (Saml2Assertion, SecurityTokenResolver, SecurityToken)

.NET Framework (current version)
 

Resolves the Signing Key Identifier to a SecurityToken.

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

protected virtual bool TryResolveIssuerToken(
	Saml2Assertion assertion,
	SecurityTokenResolver issuerResolver,
	out SecurityToken token
)

Parameters

assertion
Type: System.IdentityModel.Tokens.Saml2Assertion

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

issuerResolver
Type: System.IdentityModel.Selectors.SecurityTokenResolver

The current SecurityTokenResolver associated with this handler.

token
Type: System.IdentityModel.Tokens.SecurityToken

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

Return Value

Type: System.Boolean

true if the token is resolved.

.NET Framework
Available since 4.5
Return to top
Show: