Github's way of securing webhooks
Check out WebhookHelpers
:
- For posting to a webhook:
CreateContentWithSecureHeader
- For validating in a webhook endpoint and retrieving the payload:
ValidateAndGetPayload
Github's way of securing webhooks : https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
C#