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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for