Class AdminAction
- 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
-
-
Constructor Summary
Constructors Constructor Description AdminAction()
AdminAction(String id, int expiration, String resource, String action)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getAction()
TokenCategory
getCategory()
int
getExpiration()
Time in seconds since epocString
getId()
String
getResource()
boolean
isExpired()
void
setAction(String action)
void
setExpiration(int expiration)
void
setId(String id)
void
setResource(String resource)
abstract boolean
validate()
-
-
-
Method Detail
-
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 interfaceToken
-
-