Skip to content

VerifyInput

Defined in: src/signing.ts:158

Input to verify.

Property Type Description Defined in
headers Record<string, string> Request headers; name lookup is case-insensitive. src/signing.ts:162
now? number Current unix time in seconds — injectable for tests. src/signing.ts:168
payload string The raw request body, exactly as received (no re-serialization). src/signing.ts:160
secret string | string[] Candidate secret(s) — pass several during rotation; any match passes. src/signing.ts:164
toleranceSeconds? number Allowed clock skew in seconds, both past and future. Default 300. src/signing.ts:166