OpenIdConnectMiddleware Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- sharedOptions
- IOptions<SharedAuthenticationOptions>
- options
- IOptions<OpenIdConnectOptions>
- htmlEncoder
- HtmlEncoder
L’HtmlEncoderopérateur