auth clean up

This commit is contained in:
Kalana B. Thilakarathna
2026-08-25 16:11:37 +05:30
parent 916a2b8f0a
commit bb33928661
9 changed files with 2724 additions and 51 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
namespace Distribution.Features.Auth;
public record LoginRequest(string Username, string Password);
public record LoginResponse(string Token, Guid UserId, string Username, string RoleName);
// TODO: Define request/response shapes once the Auth Service contract is agreed.
// These will be the DTOs passed between the Next.js frontend and this proxy controller,
// which should mirror (or adapt) whatever the Auth Service expects/returns.