VerifyWebhookRequestOptions
Defined in: packages/webhook/src/security/verify-webhook-request.ts:29
Options for verifyWebhookRequest. algorithm, signatureHeader,
and signaturePrefix must match the sender’s WebhookConfig, so the same
object can be passed to both.
Extends
섹션 제목: “Extends”Pick<WebhookConfig,"algorithm"|"signatureHeader"|"signaturePrefix">
Properties
섹션 제목: “Properties”algorithm?
섹션 제목: “algorithm?”
optionalalgorithm?:"sha256"|"sha1"
Defined in: packages/webhook/src/types/webhook.types.ts:23
Inherited from
섹션 제목: “Inherited from”signatureHeader?
섹션 제목: “signatureHeader?”
optionalsignatureHeader?:string
Defined in: packages/webhook/src/types/webhook.types.ts:24
Inherited from
섹션 제목: “Inherited from”signaturePrefix?
섹션 제목: “signaturePrefix?”
optionalsignaturePrefix?:string
Defined in: packages/webhook/src/types/webhook.types.ts:25
Inherited from
섹션 제목: “Inherited from”toleranceMs?
섹션 제목: “toleranceMs?”
optionaltoleranceMs?:number
Defined in: packages/webhook/src/security/verify-webhook-request.ts:40
How far the signed time may be from the receiver’s clock, in either direction, in milliseconds: a finite number of 0 or more. Defaults to 300000 (5 minutes). Signed times have one-second resolution, so a request up to a second older than this can still pass.