AggregateTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifierClause, SecurityToken)

.NET Framework (current version)
 

Attempts to resolve the security token that matches the specified key identifier clause.

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

protected override bool TryResolveTokenCore(
	SecurityKeyIdentifierClause keyIdentifierClause,
	out SecurityToken token
)

Parameters

keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

The key identifier clause to create a security token for.

token
Type: System.IdentityModel.Tokens.SecurityToken

When this method returns, contains a security token 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.

Exception Condition
ArgumentNullException

keyIdentifierClause is null.

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

.NET Framework
Available since 4.5
Return to top
Show: