Class UpdateEmailActionToken
java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.models.DefaultActionTokenKey
org.keycloak.authentication.actiontoken.DefaultActionToken
org.keycloak.authentication.actiontoken.updateemail.UpdateEmailActionToken
- All Implemented Interfaces:
Serializable
,SingleUseObjectKeyModel
,SingleUseObjectValueModel
,Token
- See Also:
-
Field Summary
Fields inherited from class org.keycloak.authentication.actiontoken.DefaultActionToken
ACTION_TOKEN_BASIC_CHECKS, JSON_FIELD_AUTHENTICATION_SESSION_ID, JSON_FIELD_EMAIL
Fields inherited from class org.keycloak.models.DefaultActionTokenKey
ACTION_TOKEN_USER_ID, JSON_FIELD_ACTION_VERIFICATION_NONCE
-
Constructor Summary
ConstructorDescriptionUpdateEmailActionToken
(String userId, int absoluteExpirationInSecs, String oldEmail, String newEmail, String clientId) UpdateEmailActionToken
(String userId, int absoluteExpirationInSecs, String oldEmail, String newEmail, String clientId, Boolean logoutSessions) UpdateEmailActionToken
(String userId, int absoluteExpirationInSecs, String oldEmail, String newEmail, String clientId, Boolean logoutSessions, String redirectUri) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setLogoutSessions
(Boolean logoutSessions) void
setNewEmail
(String newEmail) void
setOldEmail
(String oldEmail) void
setRedirectUri
(String redirectUri) Methods inherited from class org.keycloak.authentication.actiontoken.DefaultActionToken
getCompoundAuthenticationSessionId, getEmail, getNote, getNotes, removeNote, serialize, setCompoundAuthenticationSessionId, setEmail, setNote
Methods inherited from class org.keycloak.models.DefaultActionTokenKey
from, getActionId, getActionVerificationNonce, getUserId
Methods inherited from class org.keycloak.representations.JsonWebToken
addAudience, audience, exp, expiration, getAudience, getCategory, getExp, getExpiration, getIat, getId, getIssuedAt, getIssuedFor, getIssuer, getNbf, getNotBefore, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedAt, issuedFor, issuedNow, issuer, nbf, notBefore, setOtherClaims, setSubject, subject, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.SingleUseObjectKeyModel
getExpiration, serializeKey
-
Field Details
-
TOKEN_TYPE
- See Also:
-
-
Constructor Details
-
UpdateEmailActionToken
-
UpdateEmailActionToken
-
UpdateEmailActionToken
-
-
Method Details
-
getOldEmail
-
setOldEmail
-
getNewEmail
-
setNewEmail
-
getLogoutSessions
-
setLogoutSessions
-
getRedirectUri
-
setRedirectUri
-