Files
drmaterac.pl/modules/pshowsso/deps/lcobucci/jwt/src/Validator.php
Jacek Pyziak 778ee26fe4 Add Symfony Deprecation Contracts package
- Created CHANGELOG.md to maintain version history.
- Added README.md with usage instructions for the trigger_deprecation() function.
- Initialized composer.json for the Symfony Deprecation Contracts library, specifying dependencies and autoloading.
2025-12-15 08:43:18 +01:00

24 lines
575 B
PHP

<?php
namespace PShowSsoScoped\Lcobucci\JWT;
use PShowSsoScoped\Lcobucci\JWT\Validation\Constraint;
use PShowSsoScoped\Lcobucci\JWT\Validation\NoConstraintsGiven;
use PShowSsoScoped\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);
}