Class HvlOAuthSessionModel
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthSessionModel
- All Implemented Interfaces:
Serializable
A data transfer object is used for session operations
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant HAS_ADMIN_FIELD.static final String
The constant IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD.static final String
The constant PROFILE_ID_FIELD.static final String
The constant PROFILE_INTEGRATION_CODE_FIELD.static final String
The constant PROFILE_UUID_FIELD.static final String
The constant PROXY_ID_FIELD.static final String
The constant SECRET_FIELD.static final String
The constant USER_DETAIL_INTEGRATION_CODE.static final String
The constant USER_ID_FIELD.static final String
The constant USER_TYPE_FIELD.static final String
The constant USER_UUID_FIELD. -
Constructor Summary
ConstructorDescriptionHvlOAuthSessionModel
(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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets authority code set.getEmail()
Gets email.Gets profile identity.Gets profile integration code.Gets secret.Gets tenant identifier.Gets user integration id.Gets username.Gets user type.int
hashCode()
boolean
Is google authenticator enabled boolean.boolean
Is has proxied profile boolean.
-
Field Details
-
USER_TYPE_FIELD
The constant USER_TYPE_FIELD.- See Also:
-
USER_DETAIL_INTEGRATION_CODE_FIELD
The constant USER_DETAIL_INTEGRATION_CODE.- See Also:
-
USER_ID_FIELD
The constant USER_ID_FIELD.- See Also:
-
USER_UUID_FIELD
The constant USER_UUID_FIELD.- See Also:
-
PROFILE_ID_FIELD
The constant PROFILE_ID_FIELD.- See Also:
-
PROFILE_UUID_FIELD
The constant PROFILE_UUID_FIELD.- See Also:
-
PROFILE_INTEGRATION_CODE_FIELD
The constant PROFILE_INTEGRATION_CODE_FIELD.- See Also:
-
PROXY_ID_FIELD
The constant PROXY_ID_FIELD.- See Also:
-
HAS_ADMIN_FIELD
The constant HAS_ADMIN_FIELD.- See Also:
-
IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD
The constant IS_GOOGLE_AUTHENTICATOR_ENABLED_FIELD.- See Also:
-
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 usernameemail
- the emailtenantIdentifier
- the tenant identifierprofileIdentity
- the profile identityprofileIntegrationCode
- the profile integration codehasProxiedProfile
- the has proxied profileuserType
- the user typeuserIntegrationId
- the user integration idauthorityCodeSet
- the authority code setgoogleAuthenticatorEnabled
- the google authenticator enabledsecret
- the secret
-
-
Method Details
-
getUsername
Gets username.- Returns:
- the username
-
getEmail
Gets email.- Returns:
- the email
-
getTenantIdentifier
Gets tenant identifier.- Returns:
- the tenant identifier
-
getProfileIdentity
Gets profile identity.- Returns:
- the profile identity
-
getProfileIntegrationCode
Gets profile integration code.- Returns:
- the profile integration code
-
isHasProxiedProfile
public boolean isHasProxiedProfile()Is has proxied profile boolean.- Returns:
- the boolean
-
getUserType
Gets user type.- Returns:
- the user type
-
getUserIntegrationId
Gets user integration id.- Returns:
- the user integration id
-
getAuthorityCodeSet
Gets authority code set.- Returns:
- the authority code set
-
isGoogleAuthenticatorEnabled
public boolean isGoogleAuthenticatorEnabled()Is google authenticator enabled boolean.- Returns:
- the boolean
-
getSecret
Gets secret.- Returns:
- the secret
-
equals
-
hashCode
public int hashCode()
-