Appearance
Function: verifySignature()
ts
function verifySignature(
secret,
body,
header,
opts?
): SignatureCheck;Whether header signs body with secret, and if not, why.
Parameters
| Parameter | Type |
|---|---|
secret | string |
body | string | Uint8Array |
header | string | null | undefined |
opts | VerifyOptions |