java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthSessionModel
All Implemented Interfaces:
Serializable

public class HvlOAuthSessionModel extends Object implements Serializable
A data transfer object is used for session operations
See Also:
  • Field Details

    • USER_TYPE_FIELD

      public static final String USER_TYPE_FIELD
      The constant USER_TYPE_FIELD.
      See Also:
    • USER_DETAIL_INTEGRATION_CODE_FIELD

      public static final String USER_DETAIL_INTEGRATION_CODE_FIELD
      The constant USER_DETAIL_INTEGRATION_CODE.
      See Also:
    • USER_ID_FIELD

      public static final String USER_ID_FIELD
      The constant USER_ID_FIELD.
      See Also:
    • USER_UUID_FIELD

      public static final String USER_UUID_FIELD
      The constant USER_UUID_FIELD.
      See Also:
    • PROFILE_ID_FIELD

      public static final String PROFILE_ID_FIELD
      The constant PROFILE_ID_FIELD.
      See Also:
    • PROFILE_UUID_FIELD

      public static final String PROFILE_UUID_FIELD
      The constant PROFILE_UUID_FIELD.
      See Also:
    • PROFILE_INTEGRATION_CODE_FIELD

      public static final String PROFILE_INTEGRATION_CODE_FIELD
      The constant PROFILE_INTEGRATION_CODE_FIELD.
      See Also:
    • PROXY_ID_FIELD

      public static final String PROXY_ID_FIELD
      The constant PROXY_ID_FIELD.
      See Also:
    • HAS_ADMIN_FIELD

      public static final String HAS_ADMIN_FIELD
      The constant HAS_ADMIN_FIELD.
      See Also:
    • IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD

      public static final String IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD
      The constant IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD.
      See Also:
    • SECRET_FIELD

      public static final String SECRET_FIELD
      The constant SECRET_FIELD.
      See Also:
  • Constructor Details

    • HvlOAuthSessionModel

      public HvlOAuthSessionModel(String username, String email, String tenantIdentifier, String profileIdentity, String profileIntegrationCode, boolean hasProxiedProfile, HvlOAuthUserTypeModel userType, String userIntegrationId, Set<String> authorityCodeSet, boolean googleAuthenticatorEnabled, String secret)
      Instantiates a new HvlOAuthSessionModel.
      Parameters:
      username - the username
      email - the email
      tenantIdentifier - the tenant identifier
      profileIdentity - the profile identity
      profileIntegrationCode - the profile integration code
      hasProxiedProfile - the has proxied profile
      userType - the user type
      userIntegrationId - the user integration id
      authorityCodeSet - the authority code set
      googleAuthenticatorEnabled - the google authenticator enabled
      secret - the secret
  • Method Details

    • getUsername

      public String getUsername()
      Gets username.
      Returns:
      the username
    • getEmail

      public String getEmail()
      Gets email.
      Returns:
      the email
    • getTenantIdentifier

      public String getTenantIdentifier()
      Gets tenant identifier.
      Returns:
      the tenant identifier
    • getProfileIdentity

      public String getProfileIdentity()
      Gets profile identity.
      Returns:
      the profile identity
    • getProfileIntegrationCode

      public String getProfileIntegrationCode()
      Gets profile integration code.
      Returns:
      the profile integration code
    • isHasProxiedProfile

      public boolean isHasProxiedProfile()
      Is has proxied profile boolean.
      Returns:
      the boolean
    • getUserType

      public HvlOAuthUserTypeModel getUserType()
      Gets user type.
      Returns:
      the user type
    • getUserIntegrationId

      public String getUserIntegrationId()
      Gets user integration id.
      Returns:
      the user integration id
    • getAuthorityCodeSet

      public Set<String> getAuthorityCodeSet()
      Gets authority code set.
      Returns:
      the authority code set
    • isGoogleAuthenticatorEnabled

      public boolean isGoogleAuthenticatorEnabled()
      Is google authenticator enabled boolean.
      Returns:
      the boolean
    • getSecret

      public String getSecret()
      Gets secret.
      Returns:
      the secret
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object