public class WebhookValidator
extends java.lang.Object
| Constructor and Description |
|---|
WebhookValidator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidWebhook(java.lang.String siftScienceSignature,
java.lang.String requestBody,
java.lang.String secretKey) |
public static boolean isValidWebhook(java.lang.String siftScienceSignature,
java.lang.String requestBody,
java.lang.String secretKey)
siftScienceSignature - value of the 'X-Sift-Science-Signature' signature in the http header of the webhook request.requestBody - body of the webhook requestsecretKey - sift webhook secret key