Breyta

Deila með


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
SqlAuthenticationProvider

Remarks

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

Constructors

SqlAuthenticationProvider()

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

Methods

AcquireTokenAsync(SqlAuthenticationParameters)

Acquires a security token from the authority.

BeforeLoad(SqlAuthenticationMethod)

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

BeforeUnload(SqlAuthenticationMethod)

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProvider(SqlAuthenticationMethod)

Gets an authentication provider by method.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsSupported(SqlAuthenticationMethod)

Indicates whether the specified authentication method is supported.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider)

Sets an authentication provider by method.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to