AuthorizationMiddleware Constructores
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í.
Sobrecargas
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider) |
Inicializa una nueva instancia de la clase AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider) |
Inicializa una nueva instancia de la clase AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>) |
Inicializa una nueva instancia de la clase AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)
- Source:
- AuthorizationMiddleware.cs
Inicializa una nueva instancia de la clase AuthorizationMiddleware.
public:
AuthorizationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider ^ policyProvider);
public AuthorizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider);
new Microsoft.AspNetCore.Authorization.AuthorizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider -> Microsoft.AspNetCore.Authorization.AuthorizationMiddleware
Public Sub New (next As RequestDelegate, policyProvider As IAuthorizationPolicyProvider)
Parámetros
- next
- RequestDelegate
El siguiente middleware de la canalización de middleware de la aplicación.
- policyProvider
- IAuthorizationPolicyProvider
Se aplica a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)
- Source:
- AuthorizationMiddleware.cs
Inicializa una nueva instancia de la clase AuthorizationMiddleware.
public AuthorizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, IServiceProvider services);
new Microsoft.AspNetCore.Authorization.AuthorizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * IServiceProvider -> Microsoft.AspNetCore.Authorization.AuthorizationMiddleware
Public Sub New (next As RequestDelegate, policyProvider As IAuthorizationPolicyProvider, services As IServiceProvider)
Parámetros
- next
- RequestDelegate
El siguiente middleware de la canalización de middleware de la aplicación.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
Se aplica a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)
- Source:
- AuthorizationMiddleware.cs
Inicializa una nueva instancia de la clase AuthorizationMiddleware.
public AuthorizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, IServiceProvider services, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.AuthorizationMiddleware> logger);
new Microsoft.AspNetCore.Authorization.AuthorizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * IServiceProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.AuthorizationMiddleware> -> Microsoft.AspNetCore.Authorization.AuthorizationMiddleware
Public Sub New (next As RequestDelegate, policyProvider As IAuthorizationPolicyProvider, services As IServiceProvider, logger As ILogger(Of AuthorizationMiddleware))
Parámetros
- next
- RequestDelegate
El siguiente middleware de la canalización de middleware de la aplicación.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
- logger
- ILogger<AuthorizationMiddleware>