SecurityTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifierClause, SecurityToken)


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

When overridden in a derived class, attempts to resolve the security token that matches the specified key identifier clause.

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

protected abstract bool TryResolveTokenCore(
	SecurityKeyIdentifierClause keyIdentifierClause,
	out SecurityToken token


Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

The SecurityKeyIdentifierClause to create a security token for.

Type: System.IdentityModel.Tokens.SecurityToken

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

Return Value

Type: System.Boolean

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

The TryResolveTokenCore method is called by the TryResolveToken and ResolveToken methods.

.NET Framework
Available since 3.0
Return to top