Interface SignUpResponse.Builder

    • Method Detail

      • userConfirmed

        SignUpResponse.Builder userConfirmed​(Boolean userConfirmed)

        A response from the server indicating that a user registration has been confirmed.

        Parameters:
        userConfirmed - A response from the server indicating that a user registration has been confirmed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codeDeliveryDetails

        SignUpResponse.Builder codeDeliveryDetails​(CodeDeliveryDetailsType codeDeliveryDetails)

        The code delivery details returned by the server response to the user registration request.

        Parameters:
        codeDeliveryDetails - The code delivery details returned by the server response to the user registration request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userSub

        SignUpResponse.Builder userSub​(String userSub)

        The 128-bit ID of the authenticated user. This isn't the same as username.

        Parameters:
        userSub - The 128-bit ID of the authenticated user. This isn't the same as username.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • session

        SignUpResponse.Builder session​(String session)

        A session Id that you can pass to ConfirmSignUp when you want to immediately sign in your user with the USER_AUTH flow after they complete sign-up.

        Parameters:
        session - A session Id that you can pass to ConfirmSignUp when you want to immediately sign in your user with the USER_AUTH flow after they complete sign-up.
        Returns:
        Returns a reference to this object so that method calls can be chained together.