using System;
namespace SpotifyAPI.Web
{
///
/// A token to access the Spotify API
///
public interface IToken
{
///
/// Access token string
///
public string AccessToken { get; set; }
///
/// Type of this token (eg. Bearer)
///
public string TokenType { get; set; }
///
/// Auto-Initalized to UTC Now
///
public DateTime CreatedAt { get; set; }
///
/// Is the token still valid?
///
public bool IsExpired { get; }
}
}