WebexClientWrapper.ValidateSignature(HttpRequest, String) Method
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.
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.