Saml2SecurityTokenHandler.ResolveIssuerToken Method (Saml2Assertion, SecurityTokenResolver)

.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 SecurityToken ResolveIssuerToken(
	Saml2Assertion assertion,
	SecurityTokenResolver issuerResolver
)

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.

Return Value

Type: System.IdentityModel.Tokens.SecurityToken

A SecurityToken that represents the resolved token.

Exception Condition
ArgumentNullException

assertion is null.

SecurityTokenException

The handler is unable to resolve the token.

.NET Framework
Available since 4.5
Return to top
Show: