Export (0) Print
Expand All

AggregateTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifierClause, SecurityToken)

.NET Framework 4.5

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.

ExceptionCondition
ArgumentNullException

keyIdentifierClause is null.

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

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft