Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
20
vendor/lcobucci/jwt/src/Validator.php
vendored
Normal file
20
vendor/lcobucci/jwt/src/Validator.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
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): void;
|
||||
|
||||
/** @throws NoConstraintsGiven */
|
||||
public function validate(Token $token, Constraint ...$constraints): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user