• Confirms the new password and verification code to reset the password.

    Parameters

    Returns Promise<void>

    Throws

    -ConfirmForgotPasswordException Thrown due to an invalid confirmation code or password.

    Throws

    -AuthValidationErrorCode Thrown due to an empty confirmation code, password or username.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.