Kick's webhook key, read once: new WebhookPublicKey(pem), then key.verify(headers, body, options?) for each delivery.
new WebhookPublicKey(pem)
key.verify(headers, body, options?)
Reads a PEM key (BEGIN PUBLIC KEY, as Kick serves it, or BEGIN RSA PUBLIC KEY); throws if it is not one.
BEGIN PUBLIC KEY
BEGIN RSA PUBLIC KEY
verifyWebhook, with this key.
verifyWebhook
Optional
Kick's webhook key, read once:
new WebhookPublicKey(pem), thenkey.verify(headers, body, options?)for each delivery.