namespace Ikar.Shared;

public sealed record RegisterRequest(string Username, string DisplayName, string Password, string PhoneNumber);

public sealed record LoginRequest(string Username, string Password);

public sealed record RefreshSessionRequest(string RefreshToken);

public sealed record AuthSessionDto(
    string AccessToken,
    string RefreshToken,
    DateTimeOffset AccessTokenExpiresAt,
    UserSummaryDto User);
