42 public function hasJwt(): bool;
57 public function load(
string $jwtString,
string $privateKey = null): bool;
79 public function getHeader(
string $name,
string $defaultValue = null): string;
100 public function hasClaim(
string $name): bool;
108 public function getClaim(
string $name,
string $defaultValue = null);
130 public function verify(
string $publicKey,
string $jku = null): bool;
143 public static function sign(
150 string $publicKey = null
158 public static function generateKey(
string $signatureMethod =
'RS256'): ?string;
165 public static function getPublicKey(
string $privateKey): string;
174 public static function getJWKS(
string $pemKey,
string $signatureMethod,
string $kid): array;
if(count($parts) !=3) $payload