class RedirectContext
cangjie
public class RedirectContext<TOptions> <: PropertiesContext<TOptions> where TOptions <: AuthenticationSchemeOptions功能:表示带重定向地址的身份验证上下文。
父类型:
- PropertiesContext<TOptions>
成员概览
| 成员 | 功能 |
|---|---|
| init(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties, String) | 创建一个重定向上下文。 |
| let redirectUri | 目标重定向地址。 |
init(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties, String)
cangjie
public init(context: HttpContext, scheme: AuthenticationScheme, options: TOptions,
properties: AuthenticationProperties, redirectUri: String)功能:创建一个重定向上下文。
参数:
- context: HttpContext - 当前 HTTP 上下文。
- scheme: AuthenticationScheme - 当前身份验证方案。
- options:
TOptions- 当前方案选项。 - properties: AuthenticationProperties - 身份验证属性。
- redirectUri:
String- 目标重定向地址。
let redirectUri
cangjie
public let redirectUri: String功能:目标重定向地址。
类型:String