Class AdminAction
java.lang.Object
org.keycloak.representations.adapters.action.AdminAction
- All Implemented Interfaces:
Token
- Direct Known Subclasses:
LogoutAction
,PushNotBeforeAction
,TestAvailabilityAction
Posted to managed client from admin server.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Time in seconds since epocgetId()
boolean
void
void
setExpiration
(int expiration) void
void
setResource
(String resource) abstract boolean
validate()
-
Field Details
-
id
-
expiration
protected int expiration -
resource
-
action
-
-
Constructor Details
-
AdminAction
public AdminAction() -
AdminAction
-
-
Method Details
-
getId
-
setId
-
isExpired
public boolean isExpired() -
getExpiration
public int getExpiration()Time in seconds since epoc- Returns:
-
setExpiration
public void setExpiration(int expiration) -
getResource
-
setResource
-
getAction
-
setAction
-
validate
public abstract boolean validate() -
getCategory
- Specified by:
getCategory
in interfaceToken
-