16 lines
333 B
PHP
16 lines
333 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Lcobucci\JWT\Token;
|
|
|
|
use InvalidArgumentException;
|
|
use Lcobucci\JWT\Exception;
|
|
|
|
final class UnsupportedHeaderFound extends InvalidArgumentException implements Exception
|
|
{
|
|
public static function encryption(): self
|
|
{
|
|
return new self('Encryption is not supported yet');
|
|
}
|
|
}
|