Bagikan melalui


RedirectContext<TOptions> Konstruktor

Definisi

Membuat objek konteks baru.

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)

Parameter

context
HttpContext

Konteks permintaan HTTP

scheme
AuthenticationScheme

Data skema

options
TOptions

Opsi handler

redirectUri
String

URI pengalihan awal

Berlaku untuk