createGithubSignatureValidator()
Home > @backstage/plugin-events-backend-module-github
> createGithubSignatureValidator
Validates that the request received is the expected GitHub request using the signature received with the x-hub-signature-256
header which is based on a secret token configured at GitHub and here.
See https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks for more details.
Signature:
function createGithubSignatureValidator(config: Config): RequestValidator;
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
root config |