Files
liceo-ariosto/libraries/vendor/web-auth/webauthn-lib/src/TrustPath/EmptyTrustPath.php
2025-06-17 11:53:18 +02:00

32 lines
497 B
PHP

<?php
declare(strict_types=1);
namespace Webauthn\TrustPath;
final class EmptyTrustPath implements TrustPath
{
public static function create(): self
{
return new self();
}
/**
* @return string[]
*/
public function jsonSerialize(): array
{
return [
'type' => self::class,
];
}
/**
* {@inheritdoc}
*/
public static function createFromArray(array $data): static
{
return new self();
}
}