AuthorizationMiddleware Constructeurs
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.
Surcharges
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider) |
Initialise une nouvelle instance de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider) |
Initialise une nouvelle instance de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>) |
Initialise une nouvelle instance de AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)
- Source:
- AuthorizationMiddleware.cs
Initialise une nouvelle instance 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)
Paramètres
- next
- RequestDelegate
Intergiciel suivant dans le pipeline d’intergiciels d’application.
- policyProvider
- IAuthorizationPolicyProvider
L’IAuthorizationPolicyProvideropérateur
S’applique à
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)
- Source:
- AuthorizationMiddleware.cs
Initialise une nouvelle instance 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)
Paramètres
- next
- RequestDelegate
Intergiciel suivant dans le pipeline d’intergiciels d’application.
- policyProvider
- IAuthorizationPolicyProvider
L’IAuthorizationPolicyProvideropérateur
- services
- IServiceProvider
L’IServiceProvideropérateur
S’applique à
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)
- Source:
- AuthorizationMiddleware.cs
Initialise une nouvelle instance 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))
Paramètres
- next
- RequestDelegate
Intergiciel suivant dans le pipeline d’intergiciels d’application.
- policyProvider
- IAuthorizationPolicyProvider
L’IAuthorizationPolicyProvideropérateur
- services
- IServiceProvider
L’IServiceProvideropérateur
- logger
- ILogger<AuthorizationMiddleware>
L’ILoggeropérateur