• Resets a user's password.

    Parameters

    Returns Promise<ResetPasswordOutput>

    ResetPasswordOutput

    Throws

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

    Throws

    -AuthValidationErrorCode Thrown due to an empty username.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.