mindee-api-dotnet

LocalResponse.IsValidHmacSignature Method

Declaring Type: LocalResponse
Namespace: Mindee.Input
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

Verify that the payload’s signature matches the one received from the server.

public bool IsValidHmacSignature(string secretKey, string signature);

Parameters

secretKey string

Your secret key from the Mindee platform.

signature string

The signature from the “X-Mindee-Hmac-Signature” HTTP header.

Returns

bool


Documentation generated by MdDocs