| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | public function __construct(string $identifier, array $supportedOperations) |
||
| 20 | { |
||
| 21 | $this->identifier = $identifier; |
||
| 22 | |||
| 23 | if (!ExtensionHelper::validExtensionIdentifier($identifier)) { |
||
| 24 | throw new WebAuthnException(sprintf("Invalid extension identifier '%s'.", $identifier)); |
||
| 25 | } |
||
| 26 | $this->supportedOperations = $supportedOperations; |
||
| 27 | } |
||
| 39 |