Newer
Older
gnexus-auth-client-php / src / Contract / WebhookVerifierInterface.php
@Eugene Sukhodolskiy Eugene Sukhodolskiy 12 hours ago 240 bytes Initial auth client package scaffold
<?php

declare(strict_types=1);

namespace GNexus\GAuth\Contract;

use GNexus\GAuth\DTO\VerifiedWebhook;

interface WebhookVerifierInterface
{
    public function verify(string $rawBody, array $headers, string $secret): VerifiedWebhook;
}