BlacklistContract
interface BlacklistContract
Methods
bool
add(array $payload)
Add the token (jti claim) to the blacklist.
bool
addForever(array $payload)
Add the token (jti claim) to the blacklist indefinitely.
bool
has(array $payload)
Determine whether the token has been blacklisted.
bool
remove(array $payload)
Remove the token (jti claim) from the blacklist.
bool
clear()
Remove all tokens from the blacklist.
Details
at line 12
bool
add(array $payload)
Add the token (jti claim) to the blacklist.
at line 17
bool
addForever(array $payload)
Add the token (jti claim) to the blacklist indefinitely.
at line 22
bool
has(array $payload)
Determine whether the token has been blacklisted.
at line 27
bool
remove(array $payload)
Remove the token (jti claim) from the blacklist.
at line 32
bool
clear()
Remove all tokens from the blacklist.