File "CannotValidateARegisteredClaim.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/lcobucci/jwt/src/Validation/Constraint/CannotValidateARegisteredClaim.php
File size: 460 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
declare(strict_types=1);
namespace Lcobucci\JWT\Validation\Constraint;
use InvalidArgumentException;
use Lcobucci\JWT\Exception;
final class CannotValidateARegisteredClaim extends InvalidArgumentException implements Exception
{
public static function create(string $claim): self
{
return new self(
'The claim "' . $claim . '" is a registered claim, another constraint must be used to validate its value'
);
}
}