Interface ExpendedJTIChecker<T>
-
public interface ExpendedJTIChecker<T>
Expended client authentication JWT IDjti
claim checker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExpended(JWTID jti, ClientID clientID, ClientAuthenticationMethod method, Context<T> context)
Checks if the specified JWT ID (@code jti) is expended.void
markExpended(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:
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 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
.
-
-