| Current Path : /home/helpink/www/libraries/vendor/web-token/jwt-library/Checker/ |
| Current File : /home/helpink/www/libraries/vendor/web-token/jwt-library/Checker/MissingMandatoryClaimException.php |
<?php
declare(strict_types=1);
namespace Jose\Component\Checker;
use Exception;
class MissingMandatoryClaimException extends Exception implements ClaimExceptionInterface
{
/**
* MissingMandatoryClaimException constructor.
*
* @param string[] $claims
*/
public function __construct(
string $message,
private readonly array $claims
) {
parent::__construct($message);
}
/**
* @return string[]
*/
public function getClaims(): array
{
return $this->claims;
}
}