Partilhar via


SignedHttpRequestHandler.ValidateSignedHttpRequestAsync Method

Definition

Validates a signed http request using the signedHttpRequestValidationContext.

public System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationResult> ValidateSignedHttpRequestAsync (Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext signedHttpRequestValidationContext, System.Threading.CancellationToken cancellationToken);
member this.ValidateSignedHttpRequestAsync : Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationResult>
Public Function ValidateSignedHttpRequestAsync (signedHttpRequestValidationContext As SignedHttpRequestValidationContext, cancellationToken As CancellationToken) As Task(Of SignedHttpRequestValidationResult)

Parameters

signedHttpRequestValidationContext
SignedHttpRequestValidationContext

A structure that wraps parameters needed for SignedHttpRequest validation.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

A SignedHttpRequestValidationResult. IsValid will be true if the signed http request was successfully validated, false otherwise.

Applies to