Jaa


WebexClientWrapper.ValidateSignature(HttpRequest, String) Method

Definition

Validates the local secret against the one obtained from the request header.

public virtual bool ValidateSignature (Microsoft.AspNetCore.Http.HttpRequest request, string jsonPayload);
abstract member ValidateSignature : Microsoft.AspNetCore.Http.HttpRequest * string -> bool
override this.ValidateSignature : Microsoft.AspNetCore.Http.HttpRequest * string -> bool
Public Overridable Function ValidateSignature (request As HttpRequest, jsonPayload As String) As Boolean

Parameters

request
HttpRequest

The HttpRequest with the signature.

jsonPayload
String

The serialized payload to be use for comparison.

Returns

The result of the comparison between the signature in the request and hashed json.

Applies to