Function: verifyWebhookSignature()
verifyWebhookSignature(
args):boolean
Defined in: webhookSignature.ts:41
Constant-time verification of a received webhook signature. Accepts the
signature with or without the sha256= prefix.
Parameters
| Parameter | Type |
|---|---|
args | { payload: string; secret: string; signature: string; } |
args.payload | string |
args.secret | string |
args.signature | string |
Returns
boolean