CnfDecryptionKeysResolverAsync Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.