Package org.keycloak.models.jpa.session
Class JpaRevokedTokensPersisterProvider
java.lang.Object
org.keycloak.models.jpa.session.JpaRevokedTokensPersisterProvider
- All Implemented Interfaces:
RevokedTokenPersisterProvider
,Provider
public class JpaRevokedTokensPersisterProvider
extends Object
implements RevokedTokenPersisterProvider
- Author:
- Alexander Schwartz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
revokeToken
(String tokenId, long lifetime) Revoke a token with a given ID
-
Constructor Details
-
JpaRevokedTokensPersisterProvider
public JpaRevokedTokensPersisterProvider(jakarta.persistence.EntityManager em)
-
-
Method Details
-
revokeToken
Description copied from interface:RevokedTokenPersisterProvider
Revoke a token with a given ID- Specified by:
revokeToken
in interfaceRevokedTokenPersisterProvider
-
getAllRevokedTokens
- Specified by:
getAllRevokedTokens
in interfaceRevokedTokenPersisterProvider
-
expireTokens
public void expireTokens()- Specified by:
expireTokens
in interfaceRevokedTokenPersisterProvider
-
close
public void close()
-