Dela via


AuthenticationMiddleware<TOptions> Constructor

Definition

protected:
 AuthenticationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<TOptions> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::UrlEncoder ^ encoder);
protected AuthenticationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.AuthenticationOptions and 'Options : (new : unit -> 'Options))> : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.AuthenticationOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.AuthenticationOptions and 'Options : (new : unit -> 'Options))>
Protected Sub New (next As RequestDelegate, options As IOptions(Of TOptions), loggerFactory As ILoggerFactory, encoder As UrlEncoder)

Parameters

options
IOptions<TOptions>
loggerFactory
ILoggerFactory
encoder
UrlEncoder

Applies to