Class RevokedTokenEntity

java.lang.Object
org.keycloak.models.jpa.entities.RevokedTokenEntity

@Entity public class RevokedTokenEntity extends Object
Stores a list of revoked tokens in the database, so it is available after restarts.
Author:
Alexander Schwartz
  • Field Details

    • id

      protected String id
    • expire

      protected long expire
      Expire time in seconds.
  • Constructor Details

    • RevokedTokenEntity

      public RevokedTokenEntity()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getExpire

      public long getExpire()
    • setExpire

      public void setExpire(long expire)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object