using System; namespace SpotifyAPI.Web { public class TokenResponse { public string AccessToken { get; set; } public string TokenType { get; set; } public int ExpiresIn { get; set; } /// /// Auto-Initalized to UTC Now /// /// public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public bool IsExpired { get => CreatedAt.AddSeconds(ExpiresIn) <= DateTime.UtcNow; } } }