Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | final class AuthenticatorTransport |
||
6 | { |
||
7 | /** |
||
8 | * USB. |
||
9 | */ |
||
10 | public const USB = 'usb'; |
||
11 | |||
12 | /** |
||
13 | * Near Field Communication (NFC). |
||
14 | */ |
||
15 | public const NFC = 'nfc'; |
||
16 | |||
17 | /** |
||
18 | * Bluetooth Smart (Bluetooth Low Energy / BLE). |
||
19 | */ |
||
20 | public const BLE = 'ble'; |
||
21 | |||
22 | /** |
||
23 | * Client device-specific transport. These authenticators are not removable from the client device. |
||
24 | */ |
||
25 | public const INTERNAL = 'internal'; |
||
26 | |||
27 | /** |
||
28 | * @codeCoverageIgnore |
||
29 | */ |
||
30 | private function __construct() |
||
32 | } |
||
33 | |||
34 | 2 | public static function isValidValue(string $value): bool |
|
37 | } |
||
38 | |||
39 | 3 | public static function allKnownTransports(): array |
|
44 |