Skip to main content

Module webhook

Module webhook 

Source
Expand description

Webhook authentication strategies for incoming HTTP requests.

This module provides WebhookAuth, an enum that supports multiple authentication schemes commonly used by webhook providers such as GitHub and GitLab. It can also be used with custom header-based or HMAC-based authentication flows.

Enums§

WebhookAuth
Authentication strategy for a webhook endpoint.

Constants§

MAX_IDEMPOTENCY_KEY_LEN
Maximum length of a derived idempotency key, in bytes.

Functions§

extract_delivery_id
Extract a provider delivery identifier from request headers.