AuthenticationOptions 類別

所有驗證中介軟體的基本選項。

繼承階層

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    其他...

命名空間:  Microsoft.Owin.Security
組件:  Microsoft.Owin.Security (在 Microsoft.Owin.Security.dll 中)

語法

'宣告
Public MustInherit Class AuthenticationOptions
'用途
Dim instance As AuthenticationOptions
public abstract class AuthenticationOptions
public ref class AuthenticationOptions abstract
[<AbstractClassAttribute>]
type AuthenticationOptions =  class end
public abstract class AuthenticationOptions

AuthenticationOptions 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 AuthenticationOptions 初始化 AuthenticationOptions 基本類別的屬性。

上層

屬性

  名稱 說明
公用屬性 AuthenticationMode 若為 Active,驗證中介軟體會替換連入要求使用者,並替換連出的 401 未授權回應。若為 Passive,驗證中介軟體僅會在 AuthenticationType 明確指出時提供識別並替換回應。
公用屬性 AuthenticationType 選項中的 AuthenticationType 對應至識別 AuthenticationType 屬性。可能會指派不同的值以便在管線中多次使用相同的驗證中介軟體類型。
公用屬性 Description 驗證類型的其他相關資訊可在應用程式中找到。

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.Owin.Security 命名空間

繼承階層

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    Microsoft.Owin.Security.ActiveDirectory.ActiveDirectoryFederationServicesBearerAuthenticationOptions
    Microsoft.Owin.Security.ActiveDirectory.WindowsAzureActiveDirectoryBearerAuthenticationOptions
    Microsoft.Owin.Security.Cookies.CookieAuthenticationOptions
    Microsoft.Owin.Security.Facebook.FacebookAuthenticationOptions
    Microsoft.Owin.Security.Google.GoogleAuthenticationOptions
    Microsoft.Owin.Security.Jwt.JwtBearerAuthenticationOptions
    Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions
    Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions
    Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationOptions
    Microsoft.Owin.Security.Twitter.TwitterAuthenticationOptions