Interface JwtRevocationService

All Known Implementing Classes:
StandardJwtRevocationService

public interface JwtRevocationService
JSON Web Token Revocation Service
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Delete Expired Revocations
    boolean
    Is JSON Web Token Identifier Revoked
    void
    setRevoked(String id, Instant expiration)
    Set Revoked Status using JSON Web Token Identifier
  • Method Details

    • deleteExpired

      void deleteExpired()
      Delete Expired Revocations
    • isRevoked

      boolean isRevoked(String id)
      Is JSON Web Token Identifier Revoked
      Parameters:
      id - JSON Web Token Identifier
      Returns:
      Revoked Status
    • setRevoked

      void setRevoked(String id, Instant expiration)
      Set Revoked Status using JSON Web Token Identifier
      Parameters:
      id - JSON Web Token Identifier
      expiration - Expiration of Revocation Status after which the status record can be removed