RedirectContext<TOptions> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为重定向事件传递的上下文。
generic <typename TOptions>
where TOptions : AuthenticationSchemeOptionspublic ref class RedirectContext : Microsoft::AspNetCore::Authentication::PropertiesContext<TOptions>
public class RedirectContext<TOptions> : Microsoft.AspNetCore.Authentication.PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
type RedirectContext<'Options (requires 'Options :> AuthenticationSchemeOptions)> = class
inherit PropertiesContext<'Options (requires 'Options :> AuthenticationSchemeOptions)>
Public Class RedirectContext(Of TOptions)
Inherits PropertiesContext(Of TOptions)
类型参数
- TOptions
- 继承
构造函数
RedirectContext<TOptions>(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties, String) |
创建新的上下文对象。 |
属性
HttpContext |
上下文。 (继承自 BaseContext<TOptions>) |
Options |
获取与方案关联的身份验证选项。 (继承自 BaseContext<TOptions>) |
Properties |
获取或设置 AuthenticationProperties。 (继承自 PropertiesContext<TOptions>) |
RedirectUri |
获取或设置用于重定向操作的 URI。 |
Request |
请求。 (继承自 BaseContext<TOptions>) |
Response |
响应。 (继承自 BaseContext<TOptions>) |
Scheme |
身份验证方案。 (继承自 BaseContext<TOptions>) |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈