Interface JwtRevocationService
- All Known Implementing Classes:
StandardJwtRevocationService
public interface JwtRevocationService
JSON Web Token Revocation Service
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete Expired Revocationsboolean
Is JSON Web Token Identifier Revokedvoid
setRevoked
(String id, Instant expiration) Set Revoked Status using JSON Web Token Identifier
-
Method Details
-
deleteExpired
void deleteExpired()Delete Expired Revocations -
isRevoked
Is JSON Web Token Identifier Revoked- Parameters:
id
- JSON Web Token Identifier- Returns:
- Revoked Status
-
setRevoked
Set Revoked Status using JSON Web Token Identifier- Parameters:
id
- JSON Web Token Identifierexpiration
- Expiration of Revocation Status after which the status record can be removed
-