RedirectContext<TOptions> 构造函数

定义

创建新的上下文对象。

public:
 RedirectContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, TOptions options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ redirectUri);
public RedirectContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string redirectUri);
new Microsoft.AspNetCore.Authentication.RedirectContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)> : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * 'Options * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Authentication.RedirectContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)>
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TOptions, properties As AuthenticationProperties, redirectUri As String)

参数

context
HttpContext

HTTP 请求上下文

scheme
AuthenticationScheme

方案数据

options
TOptions

处理程序选项

redirectUri
String

初始重定向 URI

适用于