<PackageReference Include="Microsoft.Data.SqlClient.Extensions.Abstractions" Version="1.0.0" />

Microsoft.Data.SqlClient.SqlAuthenticationProviderException

This exception is thrown for any errors that occur during the authentication process.
namespace Microsoft.Data.SqlClient { public abstract class SqlAuthenticationProviderException : Exception { public SqlAuthenticationMethod Method { get; } public string FailureCode { get; } public bool ShouldRetry { get; } public int RetryPeriod { get; } protected SqlAuthenticationProviderException(string message, Exception causedBy = null); protected SqlAuthenticationProviderException(SqlAuthenticationMethod method, string failureCode, bool shouldRetry, int retryPeriod, string message, Exception causedBy = null); } }