Udostępnij za pośrednictwem


OpenIdConnectMiddleware Konstruktor

Definicja

Inicjuje element OpenIdConnectMiddleware

public:
 OpenIdConnectMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::UrlEncoder ^ encoder, IServiceProvider ^ services, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authentication::SharedAuthenticationOptions ^> ^ sharedOptions, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^> ^ options, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public OpenIdConnectMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder encoder, IServiceProvider services, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions> sharedOptions, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.OpenIdConnectOptions> options, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * IServiceProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.OpenIdConnectOptions> * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectMiddleware
Public Sub New (next As RequestDelegate, dataProtectionProvider As IDataProtectionProvider, loggerFactory As ILoggerFactory, encoder As UrlEncoder, services As IServiceProvider, sharedOptions As IOptions(Of SharedAuthenticationOptions), options As IOptions(Of OpenIdConnectOptions), htmlEncoder As HtmlEncoder)

Parametry

next
RequestDelegate

Następne oprogramowanie pośredniczące w potoku oprogramowania pośredniczącego do wywołania.

dataProtectionProvider
IDataProtectionProvider

dostawca do tworzenia ochrony danych.

loggerFactory
ILoggerFactory

fabryka do tworzenia elementu ILogger.

encoder
UrlEncoder
services
IServiceProvider
htmlEncoder
HtmlEncoder

Element HtmlEncoder.

Dotyczy