Getting basics working

This commit is contained in:
hz
2025-08-22 23:00:38 -05:00
parent 058d514d29
commit 676d56288e
8 changed files with 280 additions and 43 deletions
+6
View File
@@ -0,0 +1,6 @@
namespace Auth.Models;
public class RegisterRequest { public string Username { get; set; } = ""; public string Password { get; set; } = ""; public string? Email { get; set; } }
public class LoginRequest { public string Username { get; set; } = ""; public string Password { get; set; } = ""; }
public class ChangeRoleRequest { public string Username { get; set; } = ""; public string NewRole { get; set; } = ""; }
public class RefreshRequest { public string Username { get; set; } = ""; public string RefreshToken { get; set; } = ""; }