SqlAuthenticationProvider 類別

定義

定義驗證提供者的核心行為,並為衍生類別提供基底類別。

public ref class SqlAuthenticationProvider abstract
public abstract class SqlAuthenticationProvider
type SqlAuthenticationProvider = class
Public MustInherit Class SqlAuthenticationProvider
繼承
SqlAuthenticationProvider

備註

如果衍生類別可以從 app.config 檔案具現化,則必須提供無參數建構函式。

建構函式

SqlAuthenticationProvider()

從衍生類別中的建構函式呼叫,以將 SqlAuthenticationProvider 類別初始化。

方法

AcquireTokenAsync(SqlAuthenticationParameters)

從授權單位取得安全性權杖。

BeforeLoad(SqlAuthenticationMethod)

此方法會緊接在 SQL 驅動程式的登錄中新增提供者之前呼叫。

BeforeUnload(SqlAuthenticationMethod)

此方法會在從 SQL 驅動程式的登錄中移除提供者之前立即呼叫。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetProvider(SqlAuthenticationMethod)

依方法取得驗證提供者。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IsSupported(SqlAuthenticationMethod)

指出是否支援指定的驗證方法。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider)

依方法設定驗證提供者。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於