Class CurrentUserMiddleware
- Namespace
- KadicAuth.Api.Middleware
- Assembly
- KadicAuth.Api.dll
public class CurrentUserMiddleware
- Inheritance
-
objectCurrentUserMiddleware
Constructors
CurrentUserMiddleware(RequestDelegate)
public CurrentUserMiddleware(RequestDelegate next)
Parameters
nextRequestDelegate
Methods
Invoke(HttpContext, CurrentUser)
public Task Invoke(HttpContext context, CurrentUser currentUser)
Parameters
contextHttpContextcurrentUserCurrentUser
Returns
- Task