Class InfinispanRevokedTokenProvider
java.lang.Object
org.keycloak.models.sessions.infinispan.InfinispanRevokedTokenProvider
- All Implemented Interfaces:
RevokedTokenProvider,Provider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InfinispanRevokedTokenProvider
-
-
Method Details
-
put
Description copied from interface:RevokedTokenProviderRecords a token as revoked.- Specified by:
putin interfaceRevokedTokenProvider- Parameters:
id- the unique identifier of the token (typically itsjticlaim).lifespanSeconds- the remaining lifespan of the token in seconds. The revocation entry will be kept for at least this long to prevent the token from being accepted during its remaining validity.- Returns:
trueif the token was newly revoked;falseif it was already revoked.
-
contains
Description copied from interface:RevokedTokenProviderChecks whether a token has been revoked.- Specified by:
containsin interfaceRevokedTokenProvider- Parameters:
id- the unique identifier of the token (typically itsjticlaim).- Returns:
trueif the token is currently revoked;falseotherwise.
-
close
public void close()
-