Bagikan melalui


ResultContext<TOptions> Konstruktor

Definisi

Menginisialisasi instans baru .ResultContext<TOptions>

protected:
 ResultContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, TOptions options);
protected ResultContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options);
new Microsoft.AspNetCore.Authentication.ResultContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)> : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * 'Options -> Microsoft.AspNetCore.Authentication.ResultContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)>
Protected Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TOptions)

Parameter

context
HttpContext

Konteksnya.

scheme
AuthenticationScheme

Skema autentikasi.

options
TOptions

Opsi autentikasi yang terkait dengan skema.

Berlaku untuk