java.lang.Object
org.keycloak.representations.adapters.action.AdminAction
All Implemented Interfaces:
Token
Direct Known Subclasses:
LogoutAction, PushNotBeforeAction, TestAvailabilityAction

public abstract class AdminAction extends Object implements Token
Posted to managed client from admin server.
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • id

      protected String id
    • expiration

      protected int expiration
    • resource

      protected String resource
    • action

      protected String action
  • Constructor Details

    • AdminAction

      public AdminAction()
    • AdminAction

      public AdminAction(String id, int expiration, String resource, String action)
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • isExpired

      public boolean isExpired()
    • getExpiration

      public int getExpiration()
      Time in seconds since epoc
      Returns:
    • setExpiration

      public void setExpiration(int expiration)
    • getResource

      public String getResource()
    • setResource

      public void setResource(String resource)
    • getAction

      public String getAction()
    • setAction

      public void setAction(String action)
    • validate

      public abstract boolean validate()
    • getCategory

      public TokenCategory getCategory()
      Specified by:
      getCategory in interface Token