AuthorizationMiddleware Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider) |
Inicializa uma nova instância de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider) |
Inicializa uma nova instância de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>) |
Inicializa uma nova instância de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)
- Origem:
- AuthorizationMiddleware.cs
Inicializa uma nova instância de 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
O próximo middleware no pipeline de middleware do aplicativo.
- policyProvider
- IAuthorizationPolicyProvider
Aplica-se a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)
- Origem:
- AuthorizationMiddleware.cs
Inicializa uma nova instância de 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
O próximo middleware no pipeline de middleware do aplicativo.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
Aplica-se a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)
- Origem:
- AuthorizationMiddleware.cs
Inicializa uma nova instância de 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
O próximo middleware no pipeline de middleware do aplicativo.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
- logger
- ILogger<AuthorizationMiddleware>
O ILogger.