Package org.keycloak.models
Interface SingleUseObjectKeyModel
- All Known Implementing Classes:
DefaultActionToken
,DefaultActionTokenKey
,ExecuteActionsActionToken
,IdpVerifyAccountLinkActionToken
,InviteOrgActionToken
,ResetCredentialsActionToken
,UpdateEmailActionToken
,VerifyEmailActionToken
public interface SingleUseObjectKeyModel
- Author:
- hmlnarik
-
Method Details
-
getUserId
String getUserId()- Returns:
- ID of user which this token is for.
-
getActionId
String getActionId()- Returns:
- Action identifier this token is for.
-
getExp
Long getExp()Returns absolute number of seconds since the epoch in UTC timezone when the token expires. -
getExpiration
Deprecated.int will overflow with values after 2038. UsegetExp()
instead. -
getActionVerificationNonce
UUID getActionVerificationNonce()- Returns:
- Single-use random value used for verification whether the relevant action is allowed.
-
serializeKey
-