| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Webauthn\ClientDataCollector; |
| 6 |
|
| 7 |
use Webauthn\AuthenticatorResponse; |
| 8 |
use Webauthn\CollectedClientData; |
| 9 |
use Webauthn\PublicKeyCredentialOptions; |
| 10 |
|
| 11 |
interface ClientDataCollector |
| 12 |
{ |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
public function supportedTypes(): array; |
| 17 |
|
| 18 |
public function verifyCollectedClientData( |
| 19 |
CollectedClientData $collectedClientData, |
| 20 |
PublicKeyCredentialOptions $publicKeyCredentialOptions, |
| 21 |
AuthenticatorResponse $authenticatorResponse, |
| 22 |
string $host |
| 23 |
): void; |
| 24 |
} |