99d25adbb1
Backend CI / build-and-test (push) Failing after 13m11s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Failing after 10m12s
Frontend CI / build-and-check (push) Failing after 16m9s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 14m6s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 14m58s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Failing after 14m58s
13 lines
536 B
C#
13 lines
536 B
C#
using UniVerse.Domain.Enums;
|
|
|
|
namespace UniVerse.Application.DTOs.Auth;
|
|
|
|
public record AuthResponse(string AccessToken, DateTime ExpiresAt, UserAuthDto User);
|
|
public record AuthResult(AuthResponse Response, string RefreshToken);
|
|
|
|
public record UserAuthDto(int Id, string Email, string? DisplayName, IReadOnlyList<UserRole> Roles);
|
|
|
|
public record LoginMicrosoftRequest(string AuthorizationCode, string? RedirectUri = null);
|
|
|
|
public record DevLoginRequest(string Email, string? DisplayName = null, IReadOnlyList<UserRole>? Roles = null);
|