OpenIdConnectMiddleware Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa un objeto 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)
Parámetros
- next
- RequestDelegate
El siguiente middleware de la canalización de middleware que se va a invocar.
- dataProtectionProvider
- IDataProtectionProvider
proveedor para crear un protector de datos.
- loggerFactory
- ILoggerFactory
generador para crear un ILogger.
- encoder
- UrlEncoder
- services
- IServiceProvider
- sharedOptions
- IOptions<SharedAuthenticationOptions>
- options
- IOptions<OpenIdConnectOptions>
- htmlEncoder
- HtmlEncoder