Merge branch 'main' into feature-refresh-tokens

# Conflicts:
#	dotnet/AipsWebApi/Controllers/UserController.cs
This commit is contained in:
Veljko Tosic
2026-02-14 18:55:55 +01:00
9 changed files with 133 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
using AipsCore.Application.Abstract;
using AipsCore.Application.Common.Authentication.Dtos;
using AipsCore.Application.Abstract.MessageBroking;
using AipsCore.Application.Common.Authentication;
using AipsCore.Application.Models.User.Command.LogIn;
using AipsCore.Application.Models.User.Command.LogOut;
using AipsCore.Application.Models.User.Command.LogOutAll;
@@ -60,4 +62,11 @@ public class UserController : ControllerBase
await _dispatcher.Execute(command, cancellationToken);
return Ok();
}
[AllowAnonymous]
[HttpPost("test")]
public async Task Test(IMessagePublisher publisher)
{
await publisher.PublishAsync("Test poruka");
}
}