AuthenticationMiddleware<TOptions> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- next
- RequestDelegate
- options
- IOptions<TOptions>
- loggerFactory
- ILoggerFactory
- encoder
- UrlEncoder