IssuerTokenResolver.TryResolveSecurityKeyCore Method

Definition

Attempts to retrieve the key that is referenced in the specified key identifier clause. (Override of the base class method.)

C#
protected override bool TryResolveSecurityKeyCore(System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, out System.IdentityModel.Tokens.SecurityKey key);

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

A key identifier clause to retrieve the key for.

key
SecurityKey

When this method returns, contains the key that is referenced in the specified key identifier clause. This parameter is passed uninitialized.

Returns

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

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1