Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class AuthenticatorAttestationResponse extends AbstractAuthenticatorResponse implements AuthenticatorAttestationResponseInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var ByteBuffer |
||
11 | */ |
||
12 | private $attestationObject; |
||
13 | |||
14 | 7 | public function __construct(string $clientDataJson, ByteBuffer $attestationObject) |
|
15 | { |
||
16 | 7 | parent::__construct($clientDataJson); |
|
17 | 6 | $this->attestationObject = $attestationObject; |
|
18 | 6 | } |
|
19 | |||
20 | 6 | public function getAttestationObject(): ByteBuffer |
|
21 | { |
||
22 | 6 | return $this->attestationObject; |
|
23 | } |
||
24 | |||
25 | 5 | public function asAttestationResponse(): AuthenticatorAttestationResponseInterface |
|
28 | } |
||
29 | } |
||
30 |