lib/3rdParty/composer/web-auth/webauthn-lib/src/AuthenticationExtensions/AuthenticationExtension.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Webauthn\AuthenticationExtensions; |
| 6 | |
| 7 | class AuthenticationExtension |
| 8 | { |
| 9 | public function __construct( |
| 10 | public readonly string $name, |
| 11 | public readonly mixed $value |
| 12 | ) { |
| 13 | } |
| 14 | |
| 15 | public static function create(string $name, mixed $value): self |
| 16 | { |
| 17 | return new self($name, $value); |
| 18 | } |
| 19 | } |