VerifyOptions
@rotorsoft/act-root / act-http/src/receiver / VerifyOptions
Type Alias: VerifyOptions
VerifyOptions =
object
Defined in: libs/act-http/src/receiver/verify.ts:23
Options for verifyWebhook.
Properties
maxAgeSeconds?
optionalmaxAgeSeconds?:number
Defined in: libs/act-http/src/receiver/verify.ts:30
Maximum acceptable timestamp drift in either direction, in seconds. Default: 300 (±5 minutes) — matches Stripe / GitHub / Slack conventions. Tightening narrows the replay window; loosening accommodates clients with worse clock sync.
now?
optionalnow?:number
Defined in: libs/act-http/src/receiver/verify.ts:35
Current Unix-seconds time. Exposed for tests; production callers should leave it undefined so wall-clock is used.