| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class UserCredential implements UserCredentialInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var CredentialId |
||
| 11 | */ |
||
| 12 | private $credentialId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var CoseKeyInterface |
||
| 16 | */ |
||
| 17 | private $publicKey; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var UserHandle |
||
| 21 | */ |
||
| 22 | private $userHandle; |
||
| 23 | |||
| 24 | 1 | public function __construct(CredentialId $credentialId, CoseKeyInterface $publicKey, UserHandle $userHandle) |
|
| 29 | 1 | } |
|
| 30 | |||
| 31 | 1 | public function getCredentialId(): CredentialId |
|
| 34 | } |
||
| 35 | |||
| 36 | 1 | public function getPublicKey(): CoseKeyInterface |
|
| 39 | } |
||
| 40 | |||
| 41 | 1 | public function getUserHandle(): UserHandle |
|
| 46 |