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
public class UpdateEmailActionToken extends DefaultActionToken
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.SingleUseObjectValueModel
SingleUseObjectValueModel.SearchableFields
-
-
Field Summary
Fields Modifier and Type Field Description static StringTOKEN_TYPE-
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
Constructors Constructor Description UpdateEmailActionToken(String userId, int absoluteExpirationInSecs, String oldEmail, String newEmail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNewEmail()StringgetOldEmail()voidsetNewEmail(String newEmail)voidsetOldEmail(String oldEmail)-
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 Detail
-
TOKEN_TYPE
public static final String TOKEN_TYPE
- See Also:
- Constant Field Values
-
-