SqlAuthenticationProvider SqlAuthenticationProvider SqlAuthenticationProvider SqlAuthenticationProvider Class

Definition

Defines the core behavior of authentication providers and provides a base class for derived classes.

public ref class SqlAuthenticationProvider abstract
public abstract class SqlAuthenticationProvider
type SqlAuthenticationProvider = class
Public MustInherit Class SqlAuthenticationProvider
Inheritance
SqlAuthenticationProviderSqlAuthenticationProviderSqlAuthenticationProviderSqlAuthenticationProvider

Remarks

Derived classes must provide a default constructor if they can be instantiated from the app.config file.

Constructors

SqlAuthenticationProvider() SqlAuthenticationProvider() SqlAuthenticationProvider() SqlAuthenticationProvider()

Called from constructors in derived classes to initialize the SqlAuthenticationProvider class.

Methods

AcquireTokenAsync(SqlAuthenticationParameters) AcquireTokenAsync(SqlAuthenticationParameters) AcquireTokenAsync(SqlAuthenticationParameters) AcquireTokenAsync(SqlAuthenticationParameters)

Acquires a security token from the authority.

BeforeLoad(SqlAuthenticationMethod) BeforeLoad(SqlAuthenticationMethod) BeforeLoad(SqlAuthenticationMethod) BeforeLoad(SqlAuthenticationMethod)

This method is called immediately before the provider is added to SQL drivers registry.

BeforeUnload(SqlAuthenticationMethod) BeforeUnload(SqlAuthenticationMethod) BeforeUnload(SqlAuthenticationMethod) BeforeUnload(SqlAuthenticationMethod)

This method is called immediately before the provider is removed from the SQL drivers registry.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProvider(SqlAuthenticationMethod) GetProvider(SqlAuthenticationMethod) GetProvider(SqlAuthenticationMethod) GetProvider(SqlAuthenticationMethod)

Gets an authentication provider by method.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsSupported(SqlAuthenticationMethod) IsSupported(SqlAuthenticationMethod) IsSupported(SqlAuthenticationMethod) IsSupported(SqlAuthenticationMethod)

Indicates whether the specified authentication method is supported.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider) SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider) SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider) SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider)

Sets an authentication provider by method.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to