namespace SpotifyAPI.Web
{
///
/// Used when requesting a token from spotify oauth services (Client Credentials Auth)
///
public class ClientCredentialsRequest
{
///
///
///
/// The Client ID of your Spotify Application (See Spotify Dev Dashboard)
/// The Client Secret of your Spotify Application (See Spotify Dev Dashboard)
public ClientCredentialsRequest(string clientId, string clientSecret)
{
Ensure.ArgumentNotNullOrEmptyString(clientId, nameof(clientId));
Ensure.ArgumentNotNullOrEmptyString(clientSecret, nameof(clientSecret));
ClientId = clientId;
ClientSecret = clientSecret;
}
///
/// The Client ID of your Spotify Application (See Spotify Dev Dashboard)
///
///
public string ClientId { get; }
///
/// The Client Secret of your Spotify Application (See Spotify Dev Dashboard)
///
///
public string ClientSecret { get; }
}
}