Spotify.NET/SpotifyAPI.Web.Auth/IAuthServer.cs

18 lines
351 B
C#
Raw Normal View History

2020-05-15 19:06:24 +01:00
using System;
using System.Threading.Tasks;
namespace SpotifyAPI.Web.Auth
{
public interface IAuthServer : IDisposable
{
event Func<object, AuthorizationCodeResponse, Task> AuthorizationCodeReceived;
event Func<object, ImplictGrantResponse, Task> ImplictGrantReceived;
Task Start();
Task Stop();
2020-05-15 21:02:54 +01:00
Uri BaseUri { get; }
2020-05-15 19:06:24 +01:00
}
}