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 String
ATTR_AUTH_REF
static String
ATTR_CLIENT_AUTHENTICATOR
static String
ATTR_CREATED_TIMESTAMP
static String
ATTR_EXPIRE_TIMESTAMP
static String
ATTR_PROFILE
static String
ATTR_SYSTEM_AUTHENTICATOR
protected @NotNull EAuthClientType
authenticatorType
static String
COL_AUTH_REF
static String
COL_AUTHENTICATOR_TYPE
static String
COL_CLIENT_AUTHENTICATOR_ID
static String
COL_CREATED_TIMESTAMP
static String
COL_EXPIRE_TIMESTAMP
static String
COL_PROFILE
static String
COL_SYSTEM_AUTHENTICATOR_ID
static String
COL_TOKEN
static String
COL_USER_DATA
static String
COL_UUID
-
Constructor Summary
Constructors Constructor Description UserRefreshToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticator<?>
getAuthenticator()
EAuthClientType
getAuthenticatorType()
String
getAuthRef()
ClientAuthenticator
getClientAuthenticator()
IClientDescriptor
getClientDescriptor()
Instant
getCreatedInstance()
Instant
getExpireInstance()
UUID
getId()
SystemAuthenticator
getSystemAuthenticator()
String
getToken()
String
getUserData()
com.alibaba.fastjson.JSONObject
getUserDataJson()
Gets the JSON object with user data of the user at the instant of submitting the form record.UserProfile
getUserProfile()
boolean
isPersisted()
void
setAuthenticator(IAuthenticator<?> authenticator)
void
setAuthenticatorType(EAuthClientType authenticatorType)
void
setAuthRef(String authRef)
void
setClientAuthenticator(ClientAuthenticator clientAuthenticator)
void
setClientDescriptor(IClientDescriptor clientDescriptor)
Sets the client descriptor for connecting the authenticator to the user refresh token.void
setCreatedInstance(Instant createdInstance)
void
setExpireInstance(Instant expiresInstance)
void
setId(UUID id)
void
setSystemAuthenticator(SystemAuthenticator systemAuthenticator)
void
setToken(String token)
void
setUserData(com.alibaba.fastjson.JSONObject userData)
Sets the user data of the user at the instant of submitting the form record.void
setUserData(String userData)
void
setUserProfile(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()
-
-