lib/3rdParty/composer/web-auth/webauthn-lib/src/AttestationStatement/AttestationStatementSupport.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Webauthn\AttestationStatement; |
| 6 | |
| 7 | use Webauthn\AuthenticatorData; |
| 8 | |
| 9 | interface AttestationStatementSupport |
| 10 | { |
| 11 | public function name(): string; |
| 12 | |
| 13 | /** |
| 14 | * @param array<string, mixed> $attestation |
| 15 | */ |
| 16 | public function load(array $attestation): AttestationStatement; |
| 17 | |
| 18 | public function isValid( |
| 19 | string $clientDataJSONHash, |
| 20 | AttestationStatement $attestationStatement, |
| 21 | AuthenticatorData $authenticatorData |
| 22 | ): bool; |
| 23 | } |