mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 07:26:28 +00:00
20 lines
576 B
C#
20 lines
576 B
C#
namespace SpotifyAPI.Web
|
|
{
|
|
/// <summary>
|
|
/// Used when requesting a token from spotify oauth services (Client Credentials Auth)
|
|
/// </summary>
|
|
public class ClientCredentialsRequest
|
|
{
|
|
public ClientCredentialsRequest(string clientId, string clientSecret)
|
|
{
|
|
Ensure.ArgumentNotNullOrEmptyString(clientId, nameof(clientId));
|
|
Ensure.ArgumentNotNullOrEmptyString(clientSecret, nameof(clientSecret));
|
|
|
|
ClientId = clientId;
|
|
ClientSecret = clientSecret;
|
|
}
|
|
public string ClientId { get; }
|
|
public string ClientSecret { get; }
|
|
}
|
|
}
|