AuthorizationMiddleware Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider) |
Initialisiert eine neue Instanz von AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider) |
Initialisiert eine neue Instanz von AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>) |
Initialisiert eine neue Instanz von AuthorizationMiddleware. |
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)
- Quelle:
- AuthorizationMiddleware.cs
Initialisiert eine neue Instanz von 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)
Parameter
- next
- RequestDelegate
Die nächste Middleware in der Anwendungsmiddlewarepipeline.
- policyProvider
- IAuthorizationPolicyProvider
Gilt für:
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)
- Quelle:
- AuthorizationMiddleware.cs
Initialisiert eine neue Instanz von 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)
Parameter
- next
- RequestDelegate
Die nächste Middleware in der Anwendungsmiddlewarepipeline.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
Die IServiceProvider.
Gilt für:
AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)
- Quelle:
- AuthorizationMiddleware.cs
Initialisiert eine neue Instanz von 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))
Parameter
- next
- RequestDelegate
Die nächste Middleware in der Anwendungsmiddlewarepipeline.
- policyProvider
- IAuthorizationPolicyProvider
- services
- IServiceProvider
Die IServiceProvider.
- logger
- ILogger<AuthorizationMiddleware>
Die ILogger.