mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
25 lines
641 B
C#
25 lines
641 B
C#
|
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>
|
||
|
Task<PublicUser> Get(string userId);
|
||
|
}
|
||
|
}
|