CookieSignedInContext 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
传递给 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
构造函数
属性
| AuthenticationScheme |
AuthenticationScheme 创建 Cookie 的名称 |
| 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>) |