parseWebhook
parseWebhook(
input):Promise<AuthEvent>
Defined in: plugins/holocron-plugin-clerk/src/parse-webhook.ts:43
Verifies a Clerk webhook’s signature and replay window, then turns it into a normalized AuthEvent; throws WebhookVerificationError on a bad signature, invalid JSON or an unmapped event type.
Parameters
Section titled “Parameters”ParseWebhookInput
Returns
Section titled “Returns”Promise<AuthEvent>