Partager via


OpenIdConnectMiddleware Constructeur

Définition

Initialise un 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)

Paramètres

next
RequestDelegate

Intergiciel suivant dans le pipeline middleware à appeler.

dataProtectionProvider
IDataProtectionProvider

fournisseur pour la création d’un protecteur de données.

loggerFactory
ILoggerFactory

factory pour la création d’un ILogger.

encoder
UrlEncoder
services
IServiceProvider
htmlEncoder
HtmlEncoder

L’HtmlEncoderopérateur

S’applique à