Amplify JS API Documentation
    Preparing search index...

    Function setUpTOTP

    • Parameters

      Returns Promise<AuthTOTPSetupDetails>

    • Sets up TOTP for the user.

      Returns Promise<AuthTOTPSetupDetails>

      SetUpTOTPOutput

      -AssociateSoftwareTokenException Thrown if a service occurs while setting up TOTP.

      AuthTokenConfigException - Thrown when the token provider config is invalid.