The start of something beautiful
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Lexik\Bundle\JWTAuthenticationBundle\Services;
|
||||
|
||||
use Lexik\Bundle\JWTAuthenticationBundle\Exception\MissingClaimException;
|
||||
|
||||
interface BlockedTokenManagerInterface
|
||||
{
|
||||
/**
|
||||
* @throws MissingClaimException if required claims do not exist in the payload
|
||||
*/
|
||||
public function add(array $payload): bool;
|
||||
|
||||
/**
|
||||
* @throws MissingClaimException if required claims do not exist in the payload
|
||||
*/
|
||||
public function has(array $payload): bool;
|
||||
|
||||
/**
|
||||
* @throws MissingClaimException if required claims do not exist in the payload
|
||||
*/
|
||||
public function remove(array $payload): void;
|
||||
}
|
||||
Reference in New Issue
Block a user