Class ManageTenantMiddleware
Middelware allowing user with correct permissionto manage other tenants than the user belongs too.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity.UI
Assembly: IRM.AspNetCore.Identity.UI.dll
Syntax
public class ManageTenantMiddleware
Constructors
ManageTenantMiddleware(RequestDelegate, IManageTenantService)
Creates a new ManageTenantMiddleware.
Declaration
public ManageTenantMiddleware(RequestDelegate next, IManageTenantService manageTenantService)
Parameters
Microsoft.AspNetCore.Http.RequestDelegate
next
The Microsoft.AspNetCore.Http.RequestDelegate representing the next middleware in the pipeline. |
IManageTenantService
manageTenantService
The service used for manageing specific tenant. |
Methods
Invoke(HttpContext)
Invokes the logic of the middleware.
Declaration
public async Task Invoke(HttpContext context)
Parameters
Microsoft.AspNetCore.Http.HttpContext
context
The Microsoft.AspNetCore.Http.HttpContext. |
Returns
System.Threading.Tasks.Task
A System.Threading.Tasks.Task that completes when the middleware has completed processing. |