Class AuthenticationFieldParams.Builder

    • Method Detail

      • setClientId

        public AuthenticationFieldParams.Builder setClientId​(@Nullable
                                                             java.lang.String clientId)
        Set the client id of the environment
        Parameters:
        clientId - of the environment
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setClientSecret

        public AuthenticationFieldParams.Builder setClientSecret​(@Nullable
                                                                 java.lang.String clientSecret)
        Set the client secret of the environment
        Parameters:
        clientSecret - of the environment
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setEmail

        public AuthenticationFieldParams.Builder setEmail​(@Nullable
                                                          java.lang.String email)
        Set the email of the user
        Parameters:
        email - user's email
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setPassword

        public AuthenticationFieldParams.Builder setPassword​(@Nullable
                                                             java.lang.String password)
        Set the password of the user
        Parameters:
        password - user's password
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setPasswordConfirmation

        public AuthenticationFieldParams.Builder setPasswordConfirmation​(@Nullable
                                                                         java.lang.String passwordConfirmation)
        Set the password confirmation of the user
        Parameters:
        passwordConfirmation - user's password confirmation
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMobilePhone

        public AuthenticationFieldParams.Builder setMobilePhone​(@Nullable
                                                                java.lang.String mobilePhone)
        Set the mobile phone of the user
        Parameters:
        mobilePhone - user's phone number
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setCardId

        public AuthenticationFieldParams.Builder setCardId​(@Nullable
                                                           java.lang.String cardId)
        Set the card id of the user
        Parameters:
        cardId - user's card id
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setProvider

        public AuthenticationFieldParams.Builder setProvider​(@Nullable
                                                             java.lang.String provider)
        Set the provider of the user
        Parameters:
        provider - user's provider
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setAssertion

        public AuthenticationFieldParams.Builder setAssertion​(@Nullable
                                                              java.lang.String assertion)
        Set the assertion
        Parameters:
        assertion - The access token gathered from integrating the social media’s login API
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setGrantType

        public AuthenticationFieldParams.Builder setGrantType​(@Nullable
                                                              java.lang.String grantType)
        Set the grant type
        Parameters:
        grantType - For the social login, this value should be assertion. For regular sign-in, this value should be password
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setRefreshToken

        public AuthenticationFieldParams.Builder setRefreshToken​(@Nullable
                                                                 java.lang.String refreshToken)
        Set refreshToken
        Parameters:
        refreshToken - The refresh_token value gathered from earlier logins or when token refreshes
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setDeviceId

        public AuthenticationFieldParams.Builder setDeviceId​(@Nullable
                                                             java.lang.String deviceId)
        Set the device id
        Parameters:
        deviceId - The unique device id
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setToken

        public AuthenticationFieldParams.Builder setToken​(@Nullable
                                                          java.lang.String token)
        Set token
        Parameters:
        token - The device specific token
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setCurrentPassword

        public AuthenticationFieldParams.Builder setCurrentPassword​(@Nullable
                                                                    java.lang.String currentPassword)
        Set the currentPassword
        Parameters:
        currentPassword - current password of the user
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMessageName

        public AuthenticationFieldParams.Builder setMessageName​(@Nullable
                                                                java.lang.String messageName)
        Set message name
        Parameters:
        messageName - message name
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setFirstName

        public AuthenticationFieldParams.Builder setFirstName​(@Nullable
                                                              java.lang.String firstName)
        Set the first name of the user
        Parameters:
        firstName - user's first name
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setLastName

        public AuthenticationFieldParams.Builder setLastName​(@Nullable
                                                             java.lang.String lastName)
        Set the last name of the user
        Parameters:
        lastName - user's last name
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setBirthdate

        public AuthenticationFieldParams.Builder setBirthdate​(@Nullable
                                                              java.lang.String birthdate)
        Set the birthDate of the user
        Parameters:
        birthdate - user's birthdate
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMailingStreet

        public AuthenticationFieldParams.Builder setMailingStreet​(@Nullable
                                                                  java.lang.String mailingStreet)
        Set the mailing street of the user
        Parameters:
        mailingStreet - user's mailing street
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMailingCity

        public AuthenticationFieldParams.Builder setMailingCity​(@Nullable
                                                                java.lang.String mailingCity)
        Set the mailing city of the user
        Parameters:
        mailingCity - user's mailing city
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMailingState

        public AuthenticationFieldParams.Builder setMailingState​(@Nullable
                                                                 java.lang.String mailingState)
        Set the mailing state of the user
        Parameters:
        mailingState - user's mailing state
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setMailingPostalCode

        public AuthenticationFieldParams.Builder setMailingPostalCode​(@Nullable
                                                                      java.lang.String mailingPostalCode)
        Set the mailing postal code of the user
        Parameters:
        mailingPostalCode - user's mailing postal code
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setReferralCode

        public AuthenticationFieldParams.Builder setReferralCode​(@Nullable
                                                                 java.lang.String referralCode)
        Set the referral code of the user
        Parameters:
        referralCode - user's referral code
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setPlaceIntegrationId

        public AuthenticationFieldParams.Builder setPlaceIntegrationId​(@Nullable
                                                                       java.lang.String placeIntegrationId)
        Set the place integration id of the user
        Parameters:
        placeIntegrationId - user's place integration id
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setFields

        public AuthenticationFieldParams.Builder setFields​(@Nullable
                                                           java.util.Map<java.lang.String,​java.lang.Object> fields)
        Set additional fields for the user
        Parameters:
        fields - additional fields to be added
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setEmailAlias

        public AuthenticationFieldParams.Builder setEmailAlias​(@Nullable
                                                               java.lang.String emailAlias)
        Set the user's email alias
        Parameters:
        emailAlias - user's email alias
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setResetPasswordToken

        public AuthenticationFieldParams.Builder setResetPasswordToken​(@Nullable
                                                                       java.lang.String resetPasswordToken)
        Set reset password token from URL param
        Parameters:
        resetPasswordToken - reset password token
        Returns:
        The Builder object to allow for chaining calls to set/add methods