CoreFiles by mySites.guru
ClaimChecker.php19 lines, 438 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
7b632156262381910e8f4309524a190e
sha1
73ffc9fb43e4c8c98a14a1a738f8f132c0e0a3c3
sha256
64caf0f2b98aba76f750f355ddc5427311a5f08b1c330af0c3cd2d22d02fda63
<?php

declare(strict_types=1);

namespace Jose\Component\Checker;

interface ClaimChecker
{
    /**
     * When the token has the applicable claim, the value is checked. If for some reason the value is not valid, an
     * InvalidClaimException must be thrown.
     */
    public function checkClaim(mixed $value): void;

    /**
     * The method returns the claim to be checked.
     */
    public function supportedClaim(): string;
}

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