feat: доделал MS Auth для фронта

This commit is contained in:
2026-05-10 21:57:19 +03:00
parent 3af1932480
commit 32ca5963c8
7 changed files with 163 additions and 8 deletions
@@ -7,6 +7,6 @@ public record AuthResult(AuthResponse Response, string RefreshToken);
public record UserAuthDto(int Id, string Email, string? DisplayName, UserRole Role);
public record LoginMicrosoftRequest(string AuthorizationCode);
public record LoginMicrosoftRequest(string AuthorizationCode, string? RedirectUri = null);
public record DevLoginRequest(string Email, string? DisplayName = null, UserRole Role = UserRole.Student);