Class UserRefreshToken
java.lang.Object
de.xima.cmn.dao.model.AEntity<UUID>
de.xima.fc.entities.UserRefreshToken
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<UUID>, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<UUID>>
@Entity(name="user_refresh_token")
public class UserRefreshToken
extends de.xima.cmn.dao.model.AEntity<UUID>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected @NotNull EAuthClientTypestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getToken()com.alibaba.fastjson.JSONObjectGets the JSON object with user data of the user at the instant of submitting the form record.booleanvoidsetAuthenticator(IAuthenticator<?> authenticator) voidsetAuthenticatorType(EAuthClientType authenticatorType) voidsetAuthRef(String authRef) voidsetClientAuthenticator(ClientAuthenticator clientAuthenticator) voidsetClientDescriptor(IClientDescriptor clientDescriptor) Sets the client descriptor for connecting the authenticator to the user refresh token.voidsetCreatedInstance(Instant createdInstance) voidsetExpireInstance(Instant expiresInstance) voidvoidsetSystemAuthenticator(SystemAuthenticator systemAuthenticator) voidvoidsetUserData(com.alibaba.fastjson.JSONObject userData) Sets the user data of the user at the instant of submitting the form record.voidsetUserData(String userData) voidsetUserProfile(UserProfile userProfile) Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode, toString
-
Field Details
-
COL_SYSTEM_AUTHENTICATOR_ID
- See Also:
-
COL_CLIENT_AUTHENTICATOR_ID
- See Also:
-
COL_AUTHENTICATOR_TYPE
- See Also:
-
COL_EXPIRE_TIMESTAMP
- See Also:
-
COL_CREATED_TIMESTAMP
- See Also:
-
COL_USER_DATA
- See Also:
-
COL_PROFILE
- See Also:
-
COL_AUTH_REF
- See Also:
-
COL_TOKEN
- See Also:
-
COL_UUID
- See Also:
-
ATTR_AUTH_REF
- See Also:
-
ATTR_PROFILE
- See Also:
-
ATTR_EXPIRE_TIMESTAMP
- See Also:
-
ATTR_CREATED_TIMESTAMP
- See Also:
-
ATTR_SYSTEM_AUTHENTICATOR
- See Also:
-
ATTR_CLIENT_AUTHENTICATOR
- See Also:
-
authenticatorType
-
-
Constructor Details
-
UserRefreshToken
public UserRefreshToken()
-
-
Method Details
-
getId
-
setId
-
getUserProfile
-
setUserProfile
-
getUserData
-
setUserData
-
getAuthRef
-
setAuthRef
-
getSystemAuthenticator
-
setSystemAuthenticator
-
getClientAuthenticator
-
setClientAuthenticator
-
getAuthenticatorType
-
setAuthenticatorType
-
getToken
-
setToken
-
getCreatedInstance
-
setCreatedInstance
-
getExpireInstance
-
setExpireInstance
-
getClientDescriptor
-
setClientDescriptor
Sets the client descriptor for connecting the authenticator to the user refresh token.- Parameters:
clientDescriptor- The client descriptor.
-
setUserData
public void setUserData(com.alibaba.fastjson.JSONObject userData) Sets the user data of the user at the instant of submitting the form record.- Parameters:
userData- A JSON object with the user data.
-
getUserDataJson
public com.alibaba.fastjson.JSONObject getUserDataJson()Gets the JSON object with user data of the user at the instant of submitting the form record.- Returns:
- A JSON object with the user data.
-
getAuthenticator
-
setAuthenticator
-
isPersisted
public boolean isPersisted()
-