Microsoft.Data.SqlClient.SqlAuthenticationProvider
Defines the core behavior of authentication providers and provides a base class for derived classes.
protected SqlAuthenticationProvider()
Gets an authentication provider by method.
public static bool SetProvider(SqlAuthenticationMethod authenticationMethod, SqlAuthenticationProvider provider)
Sets an authentication provider by method.
public abstract Task<SqlAuthenticationToken> AcquireTokenAsync(SqlAuthenticationParameters parameters)
Acquires an access token from the authority.
This method is called immediately before the provider is added to the SQL authentication provider registry.
This method is called immediately before the provider is removed from the SQL authentication provider registry.
Indicates whether the specified authentication method is supported.