Interface ExpendedJTIChecker<T>


public interface ExpendedJTIChecker<T>
Expended client authentication JWT ID jti claim checker.
  • Method Details

    • isExpended

      boolean isExpended(JWTID jti, ClientID clientID, ClientAuthenticationMethod method, Context<T> context)
      Checks if the specified JWT ID (@code jti) is expended.
      Parameters:
      jti - The JWT ID. Must not be null.
      clientID - The client ID. Must not be null.
      method - The client authentication method. Must not be null.
      context - Additional context to be passed to the client credentials selector. May be null.
      Returns:
      true if the JWT ID is expended, false if not.
    • markExpended

      void markExpended(JWTID jti, Date exp, ClientID clientID, ClientAuthenticationMethod method, Context<T> context)
      Marks the specified JWT ID (@code jti) as expended.
      Parameters:
      jti - The JWT ID. Must not be null.
      exp - The JWT expiration time. Must not be null.
      clientID - The client ID. Must not be null.
      method - The client authentication method. Must not be null.
      context - Additional context to be passed to the client credentials selector. May be null.