CookieSignedInContext 類別

定義

傳遞至 ICookieAuthenticationEvents 方法 SignedIn 的內容物件。

public ref class CookieSignedInContext : Microsoft::AspNetCore::Authentication::Cookies::BaseCookieContext
public ref class CookieSignedInContext : Microsoft::AspNetCore::Authentication::PrincipalContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^>
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.Cookies.BaseCookieContext
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
type CookieSignedInContext = class
    inherit BaseCookieContext
type CookieSignedInContext = class
    inherit PrincipalContext<CookieAuthenticationOptions>
Public Class CookieSignedInContext
Inherits BaseCookieContext
Public Class CookieSignedInContext
Inherits PrincipalContext(Of CookieAuthenticationOptions)
繼承
CookieSignedInContext
繼承

建構函式

CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)

建立內容物件的新執行個體。

CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)

建立內容物件的新執行個體。

屬性

AuthenticationScheme

建立 Cookie 的 AuthenticationScheme 名稱

HttpContext

傳遞至 ICookieAuthenticationEvents 方法 SignedIn 的內容物件。

(繼承來源 BaseContext)
HttpContext

內容。

(繼承來源 BaseContext<TOptions>)
Options

傳遞至 ICookieAuthenticationEvents 方法 SignedIn 的內容物件。

(繼承來源 BaseCookieContext)
Options

取得與配置相關聯的驗證選項。

(繼承來源 BaseContext<TOptions>)
Principal

包含已轉換為傳出 Cookie 的宣告。

Principal

取得包含 ClaimsPrincipal 使用者宣告的 。

(繼承來源 PrincipalContext<TOptions>)
Properties

包含傳出 Cookie 中所包括的其他資料。

Properties

取得或設定 AuthenticationProperties

(繼承來源 PropertiesContext<TOptions>)
Request

傳遞至 ICookieAuthenticationEvents 方法 SignedIn 的內容物件。

(繼承來源 BaseContext)
Request

要求。

(繼承來源 BaseContext<TOptions>)
Response

傳遞至 ICookieAuthenticationEvents 方法 SignedIn 的內容物件。

(繼承來源 BaseContext)
Response

回應。

(繼承來源 BaseContext<TOptions>)
Scheme

驗證配置。

(繼承來源 BaseContext<TOptions>)

適用於