IssuerTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifier, 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.

Attempts to retrieve the security token that matches at least one of the key identifier clauses contained within the specified key identifier. (Override of the base class method.)

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

protected override bool TryResolveTokenCore(
	SecurityKeyIdentifier keyIdentifier,
	out SecurityToken token
)

Parameters

keyIdentifier
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

The key identifier to create a security token for.

token
Type: System.IdentityModel.Tokens.SecurityToken

When this method returns, contains a SecurityToken that represents the specified key identifier. This parameter is passed uninitialized.

Return Value

Type: System.Boolean

true if a security token can be retrieved for the specified key identifier; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: