次の方法で共有


ReplayValidatorAsync Delegate

Definition

A delegate that will be called to check if SignedHttpRequest is replayed, if set.

public delegate System.Threading.Tasks.Task ReplayValidatorAsync(SecurityToken signedHttpRequest, SignedHttpRequestValidationContext signedHttpRequestValidationContext, CancellationToken cancellationToken);
type ReplayValidatorAsync = delegate of SecurityToken * SignedHttpRequestValidationContext * CancellationToken -> Task
Public Delegate Function ReplayValidatorAsync(signedHttpRequest As SecurityToken, signedHttpRequestValidationContext As SignedHttpRequestValidationContext, cancellationToken As CancellationToken) As Task 

Parameters

signedHttpRequest
SecurityToken

A SignedHttpRequest which contains the 'nonce' claim to validate.

signedHttpRequestValidationContext
SignedHttpRequestValidationContext

A structure that wraps parameters needed for SignedHttpRequest validation.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Return Value

Expected to throw an appropriate exception if SignedHttpRequest replay is detected.

Applies to