2020-05-01 19:05:28 +01:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
using SpotifyAPI.Web.Models;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public interface IUserProfileClient
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Test
|
|
|
|
/// </summary>
|
|
|
|
/// <exception cref="APIUnauthorizedException">Thrown if the client is not authenticated.</exception>
|
|
|
|
/// <returns>A <see cref="PrivateUser"/></returns>
|
|
|
|
Task<PrivateUser> Current();
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="userId"></param>
|
|
|
|
/// <exception cref="APIUnauthorizedException">Thrown if the client is not authenticated.</exception>
|
|
|
|
/// <returns></returns>
|
2020-05-05 14:30:00 +01:00
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
|
2020-05-01 19:05:28 +01:00
|
|
|
Task<PublicUser> Get(string userId);
|
|
|
|
}
|
|
|
|
}
|