共用方式為


AuthenticationMiddleware<TOptions> 建構函式

定義

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)

參數

options
IOptions<TOptions>
loggerFactory
ILoggerFactory
encoder
UrlEncoder

適用於