AuthorizationMiddleware Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider) |
Inizializza una nuova istanza di AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider) |
Inizializza una nuova istanza di AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>) |
Inizializza una nuova istanza di AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)
- Origine:
- AuthorizationMiddleware.cs
Inizializza una nuova istanza di 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)
Parametri
- next
- RequestDelegate
Il middleware successivo nella pipeline del middleware dell'applicazione.
- policyProvider
- IAuthorizationPolicyProvider
Oggetto IAuthorizationPolicyProvider.
Si applica a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)
- Origine:
- AuthorizationMiddleware.cs
Inizializza una nuova istanza di 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)
Parametri
- next
- RequestDelegate
Il middleware successivo nella pipeline del middleware dell'applicazione.
- policyProvider
- IAuthorizationPolicyProvider
Oggetto IAuthorizationPolicyProvider.
- services
- IServiceProvider
Oggetto IServiceProvider.
Si applica a
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)
- Origine:
- AuthorizationMiddleware.cs
Inizializza una nuova istanza di 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))
Parametri
- next
- RequestDelegate
Il middleware successivo nella pipeline del middleware dell'applicazione.
- policyProvider
- IAuthorizationPolicyProvider
Oggetto IAuthorizationPolicyProvider.
- services
- IServiceProvider
Oggetto IServiceProvider.
- logger
- ILogger<AuthorizationMiddleware>
Oggetto ILogger.