namespace SpotifyAPI.Web
{
public class PKCETokenRefreshRequest
{
///
/// Request model for refreshing a access token via PKCE Token
///
/// The Client ID of your Spotify Application (See Spotify Dev Dashboard).
/// The received refresh token. Expires after one refresh
public PKCETokenRefreshRequest(string clientId, string refreshToken)
{
Ensure.ArgumentNotNullOrEmptyString(clientId, nameof(clientId));
Ensure.ArgumentNotNullOrEmptyString(refreshToken, nameof(refreshToken));
ClientId = clientId;
RefreshToken = refreshToken;
}
///
/// The Client ID of your Spotify Application (See Spotify Dev Dashboard).
///
///
public string ClientId { get; }
///
/// The received refresh token.
///
///
public string RefreshToken { get; }
}
}