| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | final class AttestationConveyancePreference |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Indicates that the Relying Party is not interested in authenticator attestation. F. |
||
| 9 | */ |
||
| 10 | public const NONE = 'none'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Indicates that the Relying Party prefers an attestation conveyance yielding verifiable attestation statements, |
||
| 14 | * but allows the client to decide how to obtain such attestation statements. |
||
| 15 | */ |
||
| 16 | public const INDRECT = 'indirect'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Indicates that the Relying Party wants to receive the attestation statement as generated by the authenticator. |
||
| 20 | */ |
||
| 21 | public const DIRECT = 'direct'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @codeCoverageIgnore |
||
| 25 | */ |
||
| 26 | private function __construct() |
||
| 28 | } |
||
| 29 | |||
| 30 | 2 | public static function isValidValue(string $value): bool |
|
| 35 |