feat: ignore user commands
This commit is contained in:
parent
a50a8567dd
commit
b52df95b65
4 changed files with 143 additions and 3 deletions
|
|
@ -16,12 +16,10 @@
|
|||
using System.Net;
|
||||
using Catalogger.Backend.Database.Models;
|
||||
using Catalogger.Backend.Database.Repositories;
|
||||
using NodaTime;
|
||||
|
||||
namespace Catalogger.Backend.Api.Middleware;
|
||||
|
||||
public class AuthenticationMiddleware(ApiTokenRepository tokenRepository, IClock clock)
|
||||
: IMiddleware
|
||||
public class AuthenticationMiddleware(ApiTokenRepository tokenRepository) : IMiddleware
|
||||
{
|
||||
public async Task InvokeAsync(HttpContext ctx, RequestDelegate next)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue