namespace MealPlan.Api.DTOs.Auth;

/// <summary>Token pair returned by login and refresh.</summary>
public class TokenResponseDto
{
    public string AccessToken { get; set; } = string.Empty;
    public string RefreshToken { get; set; } = string.Empty;

    /// <summary>Access-token lifetime in seconds (clients use it to schedule silent refresh).</summary>
    public int ExpiresInSeconds { get; set; }

    public string TokenType { get; set; } = "Bearer";
}
