lib/3rdParty/composer/web-auth/webauthn-lib/src/Event/AttestationStatementLoaded.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Webauthn\Event; |
| 6 | |
| 7 | use Webauthn\AttestationStatement\AttestationStatement; |
| 8 | |
| 9 | class AttestationStatementLoaded implements WebauthnEvent |
| 10 | { |
| 11 | public function __construct( |
| 12 | public readonly AttestationStatement $attestationStatement |
| 13 | ) { |
| 14 | } |
| 15 | |
| 16 | public static function create(AttestationStatement $attestationStatement): self |
| 17 | { |
| 18 | return new self($attestationStatement); |
| 19 | } |
| 20 | } |