Class ClearExpiredRevokedTokens

java.lang.Object
org.keycloak.services.scheduled.ClearExpiredRevokedTokens
All Implemented Interfaces:
org.keycloak.models.KeycloakSessionTask, org.keycloak.timer.ScheduledTask

@Deprecated(since="26.7", forRemoval=true) public class ClearExpiredRevokedTokens extends Object implements org.keycloak.timer.ScheduledTask
Deprecated, for removal: This API element is subject to removal in a future version.
The new RevokedTokenProvider cleanups the expired events internally
Clear all expired revoked tokens.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.jboss.logging.Logger
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    run(org.keycloak.models.KeycloakSession session)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected static final org.jboss.logging.Logger logger
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TASK_NAME

      public static final String TASK_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • ClearExpiredRevokedTokens

      public ClearExpiredRevokedTokens()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • run

      public void run(org.keycloak.models.KeycloakSession session)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      run in interface org.keycloak.models.KeycloakSessionTask
    • getTaskName

      public String getTaskName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getTaskName in interface org.keycloak.models.KeycloakSessionTask
      Specified by:
      getTaskName in interface org.keycloak.timer.ScheduledTask