Files
conservatorio-tomadini/libraries/vendor/web-auth/webauthn-lib/src/TrustPath/EmptyTrustPath.php
2024-12-17 17:34:10 +01: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();
}
}