Interface ExpendedJTIChecker<T>
-
public interface ExpendedJTIChecker<T>
Expended client authentication JWT IDjticlaim checker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisExpended(JWTID jti, ClientID clientID, ClientAuthenticationMethod method, Context<T> context)Checks if the specified JWT ID (@code jti) is expended.voidmarkExpended(JWTID jti, Date exp, ClientID clientID, ClientAuthenticationMethod method, Context<T> context)Marks the specified JWT ID (@code jti) as expended.
-
-
-
Method Detail
-
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 benull.clientID- The client ID. Must not benull.method- The client authentication method. Must not benull.context- Additional context to be passed to the client credentials selector. May benull.- Returns:
trueif the JWT ID is expended,falseif 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 benull.exp- The JWT expiration time. Must not benull.clientID- The client ID. Must not benull.method- The client authentication method. Must not benull.context- Additional context to be passed to the client credentials selector. May benull.
-
-