Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func VerifyPayload ¶
VerifyPayload verifies a webhook payload signature on the receive side, discarding the signed delivery ID. Prefer VerifyPayloadID so replayed delivery IDs can be deduplicated.
func VerifyPayloadID ¶ added in v11.3.0
VerifyPayloadID verifies a webhook payload signature on the receive side and returns the signed delivery ID. The ID is covered by the HMAC so receivers can safely use it to deduplicate replayed deliveries within the timestamp window.
Wire format (v11.2+): signature input is "timestamp.id.body".
Types ¶
Click to show internal directories.
Click to hide internal directories.