13 lines
297 B
PHP
13 lines
297 B
PHP
<?php
|
|
namespace Misuzu\JWT;
|
|
|
|
use Countable;
|
|
use RuntimeException;
|
|
|
|
interface JWKSet {
|
|
/** @var array<string, JWK> */
|
|
public array $keys { get; }
|
|
|
|
/** @throws RuntimeException if no match could be found */
|
|
public function getKey(?string $keyId = null, ?string $algo = null): JWK;
|
|
}
|