Microsoft.Data.SqlClient.SqlAuthenticationProvider
Defines the core behavior of authentication providers and provides a base class for derived classes.
namespace Microsoft.Data.SqlClient
{
public abstract class SqlAuthenticationProvider
{
public virtual void BeforeLoad(SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeUnload(SqlAuthenticationMethod authenticationMethod);
public abstract bool IsSupported(SqlAuthenticationMethod authenticationMethod);
public abstract Task<SqlAuthenticationToken> AcquireTokenAsync(SqlAuthenticationParameters parameters);
public static SqlAuthenticationProvider GetProvider(SqlAuthenticationMethod authenticationMethod);
public static bool SetProvider(SqlAuthenticationMethod authenticationMethod, SqlAuthenticationProvider provider);
protected SqlAuthenticationProvider();
}
}