AuthenticationContext 類別

定義

代表包含執行驗證資訊的驗證內容。

public class AuthenticationContext : System.Web.Mvc.ControllerContext
type AuthenticationContext = class
    inherit ControllerContext
Public Class AuthenticationContext
Inherits ControllerContext
繼承
AuthenticationContext

建構函式

AuthenticationContext()

初始化 AuthenticationContext 類別的新執行個體。

AuthenticationContext(ControllerContext, ActionDescriptor, IPrincipal)

代表包含執行驗證資訊的驗證內容。

屬性

ActionDescriptor

取得或設定動作描述元。

Controller

取得或設定控制器。

(繼承來源 ControllerContext)
DisplayMode

取得顯示模式。

(繼承來源 ControllerContext)
HttpContext

取得或設定 HTTP 內容。

(繼承來源 ControllerContext)
IsChildAction

取得值,該值表示相關聯動作方法是否為子系動作。

(繼承來源 ControllerContext)
ParentActionViewContext

取得物件,該物件包含父代動作方法的檢視內容資訊。

(繼承來源 ControllerContext)
Principal

取得或設定目前驗證的主體。

RequestContext

取得或設定要求內容。

(繼承來源 ControllerContext)
Result

取得或設定錯誤結果,其指出已嘗試驗證並失敗。

RouteData

取得或設定 URL 路徑資料。

(繼承來源 ControllerContext)

適用於