using System; using System.Threading.Tasks; namespace SpotifyAPI.Web.Auth { public interface IAuthServer : IDisposable { event Func AuthorizationCodeReceived; event Func ImplictGrantReceived; Task Start(); Task Stop(); Uri BuildLoginUri(LoginRequest request); Uri BaseUri { get; } } }