OpenIdConnectMiddleware Oluşturucu

Tanım

Bir OpenIdConnectMiddleware başlatır

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)

Parametreler

next
RequestDelegate

Ara yazılım işlem hattında çağrılacak bir sonraki ara yazılım.

dataProtectionProvider
IDataProtectionProvider

veri koruyucusu oluşturmak için sağlayıcı.

loggerFactory
ILoggerFactory

factory for creating a ILogger.

encoder
UrlEncoder
services
IServiceProvider
htmlEncoder
HtmlEncoder

HtmlEncoder.

Şunlara uygulanır