Conditions | 5 |
Paths | 5 |
Total Lines | 20 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
48 | /** |
||
49 | * @param string[] $transport |
||
50 | */ |
||
51 | public function getPublicKeyCredentialDescriptor(array $transport = []): PublicKeyCredentialDescriptor |
||
52 | { |
||
53 | return new PublicKeyCredentialDescriptor($this->getType(), $this->getId(), $transport); |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function jsonSerialize(): array |
||
60 | { |
||
61 | return [ |
||
62 | 'id' => $this->getId(), |
||
63 | 'type' => $this->getType(), |
||
64 | 'rawId' => $this->getRawId(), |
||
65 | 'response' => $this->response, |
||
66 | ]; |
||
67 | } |
||
68 | } |
||
69 |