X509CertificateStoreTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifierClause, SecurityToken)

.NET Framework (current version)
 

Resolves the specified key identifier clause to a security token.

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 resolve.

token
Type: System.IdentityModel.Tokens.SecurityToken

When this method returns, contains the security token that was resolved from the key identifier clause. This parameter is treated as uninitialized.

Return Value

Type: System.Boolean

true if the key identifier clause is successfully resolved; otherwise, false.

Exception Condition
ArgumentNullException

keyIdentifierClause is null.

.NET Framework
Available since 4.5
Return to top
Show: