Package org.keycloak.models
Interface SingleUseObjectKeyModel
-
- All Known Implementing Classes:
DefaultActionToken,DefaultActionTokenKey,ExecuteActionsActionToken,IdpVerifyAccountLinkActionToken,ResetCredentialsActionToken,UpdateEmailActionToken,VerifyEmailActionToken
public interface SingleUseObjectKeyModel- Author:
- hmlnarik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetActionId()UUIDgetActionVerificationNonce()intgetExpiration()Returns absolute number of seconds since the epoch in UTC timezone when the token expires.StringgetUserId()default StringserializeKey()
-
-
-
Method Detail
-
getUserId
String getUserId()
- Returns:
- ID of user which this token is for.
-
getActionId
String getActionId()
- Returns:
- Action identifier this token is for.
-
getExpiration
int getExpiration()
Returns absolute number of seconds since the epoch in UTC timezone when the token expires.
-
getActionVerificationNonce
UUID getActionVerificationNonce()
- Returns:
- Single-use random value used for verification whether the relevant action is allowed.
-
serializeKey
default String serializeKey()
-
-