Package de.xima.fc.entities
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AUTH_REFstatic StringATTR_CLIENT_AUTHENTICATORstatic StringATTR_CREATED_TIMESTAMPstatic StringATTR_EXPIRE_TIMESTAMPstatic StringATTR_PROFILEstatic StringATTR_SYSTEM_AUTHENTICATORprotected @NotNull EAuthClientTypeauthenticatorTypestatic StringCOL_AUTH_REFstatic StringCOL_AUTHENTICATOR_TYPEstatic StringCOL_CLIENT_AUTHENTICATOR_IDstatic StringCOL_CREATED_TIMESTAMPstatic StringCOL_EXPIRE_TIMESTAMPstatic StringCOL_PROFILEstatic StringCOL_SYSTEM_AUTHENTICATOR_IDstatic StringCOL_TOKENstatic StringCOL_USER_DATAstatic StringCOL_UUID
-
Constructor Summary
Constructors Constructor Description UserRefreshToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticator<?>getAuthenticator()EAuthClientTypegetAuthenticatorType()StringgetAuthRef()ClientAuthenticatorgetClientAuthenticator()IClientDescriptorgetClientDescriptor()InstantgetCreatedInstance()InstantgetExpireInstance()UUIDgetId()SystemAuthenticatorgetSystemAuthenticator()StringgetToken()StringgetUserData()com.alibaba.fastjson.JSONObjectgetUserDataJson()Gets the JSON object with user data of the user at the instant of submitting the form record.UserProfilegetUserProfile()booleanisPersisted()voidsetAuthenticator(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)voidsetId(UUID id)voidsetSystemAuthenticator(SystemAuthenticator systemAuthenticator)voidsetToken(String token)voidsetUserData(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)
-
-
-
Field Detail
-
COL_SYSTEM_AUTHENTICATOR_ID
public static final String COL_SYSTEM_AUTHENTICATOR_ID
- See Also:
- Constant Field Values
-
COL_CLIENT_AUTHENTICATOR_ID
public static final String COL_CLIENT_AUTHENTICATOR_ID
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR_TYPE
public static final String COL_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
COL_EXPIRE_TIMESTAMP
public static final String COL_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_CREATED_TIMESTAMP
public static final String COL_CREATED_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_USER_DATA
public static final String COL_USER_DATA
- See Also:
- Constant Field Values
-
COL_PROFILE
public static final String COL_PROFILE
- See Also:
- Constant Field Values
-
COL_AUTH_REF
public static final String COL_AUTH_REF
- See Also:
- Constant Field Values
-
COL_TOKEN
public static final String COL_TOKEN
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
ATTR_AUTH_REF
public static final String ATTR_AUTH_REF
- See Also:
- Constant Field Values
-
ATTR_PROFILE
public static final String ATTR_PROFILE
- See Also:
- Constant Field Values
-
ATTR_EXPIRE_TIMESTAMP
public static final String ATTR_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
ATTR_CREATED_TIMESTAMP
public static final String ATTR_CREATED_TIMESTAMP
- See Also:
- Constant Field Values
-
ATTR_SYSTEM_AUTHENTICATOR
public static final String ATTR_SYSTEM_AUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_CLIENT_AUTHENTICATOR
public static final String ATTR_CLIENT_AUTHENTICATOR
- See Also:
- Constant Field Values
-
authenticatorType
@NotNull protected @NotNull EAuthClientType authenticatorType
-
-
Method Detail
-
getId
public UUID getId()
-
setId
public void setId(UUID id)
-
getUserProfile
public UserProfile getUserProfile()
-
setUserProfile
public void setUserProfile(UserProfile userProfile)
-
getUserData
public String getUserData()
-
setUserData
public void setUserData(String userData)
-
getAuthRef
public String getAuthRef()
-
setAuthRef
public void setAuthRef(String authRef)
-
getSystemAuthenticator
public SystemAuthenticator getSystemAuthenticator()
-
setSystemAuthenticator
public void setSystemAuthenticator(SystemAuthenticator systemAuthenticator)
-
getClientAuthenticator
public ClientAuthenticator getClientAuthenticator()
-
setClientAuthenticator
public void setClientAuthenticator(ClientAuthenticator clientAuthenticator)
-
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
-
setAuthenticatorType
public void setAuthenticatorType(EAuthClientType authenticatorType)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getCreatedInstance
public Instant getCreatedInstance()
-
setCreatedInstance
public void setCreatedInstance(Instant createdInstance)
-
getExpireInstance
public Instant getExpireInstance()
-
setExpireInstance
public void setExpireInstance(Instant expiresInstance)
-
getClientDescriptor
public IClientDescriptor getClientDescriptor()
-
setClientDescriptor
public void setClientDescriptor(IClientDescriptor clientDescriptor)
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
public IAuthenticator<?> getAuthenticator()
-
setAuthenticator
public void setAuthenticator(IAuthenticator<?> authenticator)
-
isPersisted
public boolean isPersisted()
-
-