Class HvlAuthAuthenticationResponseModel

java.lang.Object
tr.com.havelsan.javarch.oauth.auth.cloud.client.model.HvlAuthAuthenticationResponseModel
All Implemented Interfaces:
Serializable

public class HvlAuthAuthenticationResponseModel extends Object implements Serializable
A data transfer object is used for authentication response.
See Also:
  • Field Details

    • TOKEN_ATTRIBUTE_NAME

      public static final String TOKEN_ATTRIBUTE_NAME
      The constant TOKEN_ATTRIBUTE_NAME.
      See Also:
    • SESSION_ID_ATTRIBUTE_NAME

      public static final String SESSION_ID_ATTRIBUTE_NAME
      The constant SESSION_ID_ATTRIBUTE_NAME.
      See Also:
    • TWO_FACTOR_AUTHENTICATION_ENABLED_ATTRIBUTE_NAME

      public static final String TWO_FACTOR_AUTHENTICATION_ENABLED_ATTRIBUTE_NAME
      The constant TWO_FACTOR_AUTHENTICATION_ENABLED_ATTRIBUTE_NAME.
      See Also:
    • MASKED_RECEIVED_IDENTIFIER_ATTRIBUTE_NAME

      public static final String MASKED_RECEIVED_IDENTIFIER_ATTRIBUTE_NAME
      The constant MASKED_RECEIVED_IDENTIFIER_ATTRIBUTE_NAME.
      See Also:
    • EMAIL_ATTRIBUTE_NAME

      public static final String EMAIL_ATTRIBUTE_NAME
      The constant EMAIL_ATTRIBUTE_NAME.
      See Also:
    • PROFILE_ID_ATTRIBUTE_NAME

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

    • HvlAuthAuthenticationResponseModel

      public HvlAuthAuthenticationResponseModel()
      Instantiates a new HvlAuthAuthenticationResponseModel.
    • HvlAuthAuthenticationResponseModel

      public HvlAuthAuthenticationResponseModel(HvlOAuthUserModel userModel, String token)
      Instantiates a new HvlAuthAuthenticationResponseModel.
      Parameters:
      userModel - the user model
      token - the token
    • HvlAuthAuthenticationResponseModel

      public HvlAuthAuthenticationResponseModel(HvlOAuthUserModel userModel, Map<String,Object> attributeMap)
      Instantiates a new HvlAuthAuthenticationResponseModel.
      Parameters:
      userModel - the user model
      attributeMap - the attribute map
    • HvlAuthAuthenticationResponseModel

      public HvlAuthAuthenticationResponseModel(String receivedIdentifier, boolean twoFactorAuthenticationEnabled, String email)
      Instantiates a new HvlAuthAuthenticationResponseModel.
      Parameters:
      receivedIdentifier - the received identifier
      twoFactorAuthenticationEnabled - the two factor authentication enabled
      email - the email
    • HvlAuthAuthenticationResponseModel

      public HvlAuthAuthenticationResponseModel(boolean twoFactorAuthenticationEnabled, String email)
      Instantiates a new HvlAuthAuthenticationResponseModel.
      Parameters:
      twoFactorAuthenticationEnabled - the two factor authentication enabled
      email - the email
  • Method Details

    • getUserModel

      public HvlOAuthUserModel getUserModel()
      Gets user model.
      Returns:
      the user model
    • setUserModel

      public void setUserModel(HvlOAuthUserModel userModel)
      Sets user model.
      Parameters:
      userModel - the user model
    • getAttributeMap

      public Map<String,Object> getAttributeMap()
      Gets attribute map.
      Returns:
      the attribute map
    • setAttributeMap

      public void setAttributeMap(Map<String,Object> attributeMap)
      Sets attribute map.
      Parameters:
      attributeMap - the attribute map