CoreFiles by mySites.guru
CannotValidateARegisteredClaim.php17 lines, 460 bytes, from Joomla_6.3.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha3
md5
879df96dd8f5421b1ee27af902db0454
sha1
fc045b12ed8d622eb019f119844fa597805841ec
sha256
e687a121443d8e36ec2dcc4a6654c6902c813a0b007bd6ec2793826e28bc5c0b
<?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'
        );
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.