Class PlatformAdminAuditMiddleware
- Namespace
- KadicAuth.Api.Middleware
- Assembly
- KadicAuth.Api.dll
public sealed class PlatformAdminAuditMiddleware
- Inheritance
-
objectPlatformAdminAuditMiddleware
Constructors
PlatformAdminAuditMiddleware(IPlatformAdminService, ICurrentUser, IPlatformAdminRepository, ILogger<PlatformAdminAuditMiddleware>)
public PlatformAdminAuditMiddleware(IPlatformAdminService platformAdminService, ICurrentUser currentUser, IPlatformAdminRepository repository, ILogger<PlatformAdminAuditMiddleware> logger)
Parameters
platformAdminServiceIPlatformAdminServicecurrentUserICurrentUserrepositoryIPlatformAdminRepositoryloggerILogger<PlatformAdminAuditMiddleware>
Methods
InvokeAsync(HttpContext, RequestDelegate)
Request handling method.
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
contextHttpContextThe Microsoft.AspNetCore.Http.HttpContext for the current request.
nextRequestDelegateThe delegate representing the remaining middleware in the request pipeline.
Returns
- Task
A System.Threading.Tasks.Task that represents the execution of this middleware.