@oona/vlo / host / verifySignature
Function: verifySignature()
verifySignature(
secret,headers,rawBody,nowMs?):boolean
Defined in: sdk/ts/sdk/src/host/worker/signature.ts:53
True when the vlo-* headers sign rawBody with secret and the timestamp is within 5 minutes of nowMs (default Date.now()). Missing or malformed headers are false, never thrown; the comparison is timing-safe.
Parameters
secret
string
headers
rawBody
string
nowMs?
number = ...
Returns
boolean