SamlSecurityTokenHandler.TryResolveIssuerToken Method (SamlAssertion, SecurityTokenResolver, SecurityToken)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Resolves the Signing Key Identifier to a SecurityToken.

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

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

Parameters

assertion
Type: System.IdentityModel.Tokens.SamlAssertion

The SamlAssertion 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: