Amplify JS API Documentation
    Preparing search index...

    Function verifyTOTPSetup

    • Returns Promise<void>

    • Verifies an OTP code retrieved from an associated authentication app.

      Parameters

      Returns Promise<void>

      -VerifySoftwareTokenException: Thrown due to an invalid MFA token.

      -AuthValidationErrorCode: Thrown when code is not defined.

      AuthTokenConfigException - Thrown when the token provider config is invalid.