Skip to content

class RedirectContext

cangjie
public class RedirectContext<TOptions> <: PropertiesContext<TOptions> where TOptions <: AuthenticationSchemeOptions

功能:表示带重定向地址的身份验证上下文。

父类型:

成员概览

成员功能
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)

功能:创建一个重定向上下文。

参数:

let redirectUri

cangjie
public let redirectUri: String

功能:目标重定向地址。

类型:String