Add JWT authentication and authorization infrastructure
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
namespace Distribution.Features.Auth;
|
||||
|
||||
public record LoginRequest(string Username, string Password);
|
||||
|
||||
public record LoginResponse(string Token, Guid UserId, string Username, string RoleName);
|
||||
Reference in New Issue
Block a user