Debian Codegraph @

lib/3rdParty/composer/web-auth/webauthn-lib/src/AttestationStatement/AttestationObject.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Webauthn\AttestationStatement;
6
7 use Webauthn\AuthenticatorData;
8 use Webauthn\MetadataService\Statement\MetadataStatement;
9
10 class AttestationObject
11 {
12 public ?MetadataStatement $metadataStatement = null;
13
14 public function __construct(
15 public readonly string $rawAttestationObject,
16 public AttestationStatement $attStmt,
17 public readonly AuthenticatorData $authData
18 ) {
19 }
20
21 public static function create(
22 string $rawAttestationObject,
23 AttestationStatement $attStmt,
24 AuthenticatorData $authData
25 ): self {
26 return new self($rawAttestationObject, $attStmt, $authData);
27 }
28 }