Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class AuthenticatorAttestationResponse extends AuthenticatorResponse |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $attestationObject; |
||
22 | |||
23 | /** |
||
24 | * AuthenticatorAttestationResponse constructor. |
||
25 | * |
||
26 | * @param string $clientDataJSON |
||
27 | * @param string $attestationObject |
||
28 | */ |
||
29 | public function __construct(string $clientDataJSON, string $attestationObject) |
||
30 | { |
||
31 | parent::__construct($clientDataJSON); |
||
32 | $this->attestationObject = $attestationObject; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getAttestationObject(): string |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function jsonSerialize(): array |
||
51 | ]; |
||
52 | } |
||
54 |