Class 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
    • Constructor Detail

      • UserRefreshToken

        public UserRefreshToken()
    • Method Detail

      • getId

        public UUID getId()
      • setId

        public void setId​(UUID id)
      • 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)
      • setSystemAuthenticator

        public void setSystemAuthenticator​(SystemAuthenticator systemAuthenticator)
      • setClientAuthenticator

        public void setClientAuthenticator​(ClientAuthenticator clientAuthenticator)
      • 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)
      • 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.
      • setAuthenticator

        public void setAuthenticator​(IAuthenticator<?> authenticator)
      • isPersisted

        public boolean isPersisted()