You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuAuthMiddleware.cs 418B

1234567891011121314151617181920
  1. using System.Threading.Tasks;
  2. using Microsoft.AspNetCore.Http;
  3. namespace Luticate2.Auth.Middlewares
  4. {
  5. public class LuAuthMiddleware
  6. {
  7. private readonly RequestDelegate _next;
  8. public LuAuthMiddleware(RequestDelegate next)
  9. {
  10. _next = next;
  11. }
  12. public async Task Invoke(HttpContext context)
  13. {
  14. await _next.Invoke(context);
  15. }
  16. }
  17. }