PopKeyResolverAsync 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 take control over PoP key resolution, if set.
public delegate System.Threading.Tasks.Task<Microsoft.IdentityModel.Tokens.SecurityKey> PopKeyResolverAsync(SecurityToken validatedAccessToken, SecurityToken signedHttpRequest, SignedHttpRequestValidationContext signedHttpRequestValidationContext, CancellationToken cancellationToken);
type PopKeyResolverAsync = delegate of SecurityToken * SecurityToken * SignedHttpRequestValidationContext * CancellationToken -> Task<SecurityKey>
Public Delegate Function PopKeyResolverAsync(validatedAccessToken As SecurityToken, signedHttpRequest As SecurityToken, signedHttpRequestValidationContext As SignedHttpRequestValidationContext, cancellationToken As CancellationToken) As Task(Of SecurityKey)
Parameters
- validatedAccessToken
- SecurityToken
An access token ("at") that was already validated during the SignedHttpRequest validation process.
- signedHttpRequest
- SecurityToken
A SignedHttpRequest.
- signedHttpRequestValidationContext
- SignedHttpRequestValidationContext
A structure that wraps parameters needed for SignedHttpRequest validation.
- cancellationToken
- CancellationToken
Propagates notification that operations should be canceled.>
Return Value
A resolved SecurityKey.