AuthenticationMiddleware<TOptions> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)
參數
- next
- RequestDelegate
- options
- IOptions<TOptions>
- loggerFactory
- ILoggerFactory
- encoder
- UrlEncoder