Skip to main content

CheckWebhookOptions

@rotorsoft/act-root


@rotorsoft/act-root / act-http/src/receiver / CheckWebhookOptions

Type Alias: CheckWebhookOptions

CheckWebhookOptions = object

Defined in: libs/act-http/src/receiver/check.ts:30

Options for checkWebhook.

Propertiesโ€‹

secret?โ€‹

optional secret?: string

Defined in: libs/act-http/src/receiver/check.ts:39

Optional HMAC-SHA256 secret. When set, the request's X-Webhook-Signature and X-Webhook-Timestamp headers are verified before the dedup claim. When omitted, signature verification is skipped (unsigned receivers).


storeโ€‹

store: IdempotencyStore

Defined in: libs/act-http/src/receiver/check.ts:32

Idempotency store the framework-agnostic core claims the key on.


verify?โ€‹

optional verify?: VerifyOptions

Defined in: libs/act-http/src/receiver/check.ts:45

Verification options forwarded to verifyWebhook. Only meaningful when secret is set. Defaults to a ยฑ300-second timestamp window.