mirror of
https://github.com/anikeen-com/id.git
synced 2026-11-07 16:18:33 +00:00
Webhook::constructEvent() checks the Anikeen-Signature header (HMAC-SHA256 of "t.body" with the endpoint's secret, 5-minute tolerance) and returns the event, like Stripe's helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
227 B
PHP
14 lines
227 B
PHP
<?php
|
|
|
|
namespace Anikeen\Id\Exceptions;
|
|
|
|
use Exception;
|
|
|
|
/**
|
|
* The webhook request was not signed by Anikeen ID with your endpoint's secret, or is too old.
|
|
*/
|
|
class SignatureVerificationException extends Exception
|
|
{
|
|
//
|
|
}
|