Partilhar via


CnfDecryptionKeysResolverAsync Delegate

Definition

A delegate that will be called to retrieve a collection of SecurityKeys used for the 'cnf' claim decryption.

public delegate System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.SecurityKey>> CnfDecryptionKeysResolverAsync(SecurityToken jweCnf, CancellationToken cancellationToken);
type CnfDecryptionKeysResolverAsync = delegate of SecurityToken * CancellationToken -> Task<seq<SecurityKey>>
Public Delegate Function CnfDecryptionKeysResolverAsync(jweCnf As SecurityToken, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of SecurityKey)) 

Parameters

jweCnf
SecurityToken

A 'cnf' claim represented as a SecurityToken.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Return Value

A collection of cnf decryption keys.

Applies to