Update v1.0.6
This commit is contained in:
22
vendor/tymon/jwt-auth/src/Validators/ValidatorInterface.php
vendored
Normal file
22
vendor/tymon/jwt-auth/src/Validators/ValidatorInterface.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Tymon\JWTAuth\Validators;
|
||||
|
||||
interface ValidatorInterface
|
||||
{
|
||||
/**
|
||||
* Perform some checks on the value
|
||||
*
|
||||
* @param mixed $value
|
||||
* @return void
|
||||
*/
|
||||
public function check($value);
|
||||
|
||||
/**
|
||||
* Helper function to return a boolean
|
||||
*
|
||||
* @param array $value
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid($value);
|
||||
}
|
||||
Reference in New Issue
Block a user