View Source
Class BackOfficeAuthorizationInitializationMiddleware
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeAuthorizationInitializationMiddleware : IMiddleware
Constructors
View Source
BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths, IServiceProvider, IRuntimeState)
Declaration
public BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths umbracoRequestPaths, IServiceProvider serviceProvider, IRuntimeState runtimeState)
Parameters
| Type |
Name |
Description |
| UmbracoRequestPaths |
umbracoRequestPaths |
|
| IServiceProvider |
serviceProvider |
|
| IRuntimeState |
runtimeState |
|
View Source
BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths, IServiceProvider, IRuntimeState, IOptions<GlobalSettings>, IOptions<WebRoutingSettings>, IHostingEnvironment)
Declaration
public BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths umbracoRequestPaths, IServiceProvider serviceProvider, IRuntimeState runtimeState, IOptions<GlobalSettings> globalSettings, IOptions<WebRoutingSettings> webRoutingSettings, IHostingEnvironment hostingEnvironment)
Parameters
| Type |
Name |
Description |
| UmbracoRequestPaths |
umbracoRequestPaths |
|
| IServiceProvider |
serviceProvider |
|
| IRuntimeState |
runtimeState |
|
| IOptions<GlobalSettings> |
globalSettings |
|
| IOptions<WebRoutingSettings> |
webRoutingSettings |
|
| IHostingEnvironment |
hostingEnvironment |
|
View Source
BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths, IServiceProvider, IRuntimeState, IOptions<WebRoutingSettings>)
Declaration
public BackOfficeAuthorizationInitializationMiddleware(UmbracoRequestPaths umbracoRequestPaths, IServiceProvider serviceProvider, IRuntimeState runtimeState, IOptions<WebRoutingSettings> webRoutingSettings)
Parameters
| Type |
Name |
Description |
| UmbracoRequestPaths |
umbracoRequestPaths |
|
| IServiceProvider |
serviceProvider |
|
| IRuntimeState |
runtimeState |
|
| IOptions<WebRoutingSettings> |
webRoutingSettings |
|
Methods
View Source
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public async Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type |
Name |
Description |
| HttpContext |
context |
|
| RequestDelegate |
next |
|
Returns