using System.Threading.Tasks; namespace IF.Lastfm.Core.Api { public interface IAuth { string ApiKey { get; } /// /// Gets the session token which is used as authentication for any service calls. /// Username and password aren't stored. /// /// Username /// User's password /// Session token used to authenticate calls to last.fm Task GetSessionTokenAsync(string username, string password); } }