CoreFiles by mySites.guru
Validator.php23 lines, 515 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
a00b5bdd7d4759725eb6542a5627a44c
sha1
f8c3e739ebe10e278eb9dbfe3dbc0d4e6b5545ad
sha256
06c49c68d78a74c10510a7e41831fd3d1b70ea6d67eb74220621ffbea3d8b0f9
<?php

namespace Lcobucci\JWT;

use Lcobucci\JWT\Validation\Constraint;
use Lcobucci\JWT\Validation\NoConstraintsGiven;
use Lcobucci\JWT\Validation\RequiredConstraintsViolated;

interface Validator
{
    /**
     * @throws RequiredConstraintsViolated
     * @throws NoConstraintsGiven
     */
    public function assert(Token $token, Constraint ...$constraints);

    /**
     * @return bool
     *
     * @throws NoConstraintsGiven
     */
    public function validate(Token $token, Constraint ...$constraints);
}

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.