mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
20 lines
401 B
C#
20 lines
401 B
C#
|
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();
|
||
|
|
||
|
Uri BuildLoginUri(LoginRequest request);
|
||
|
|
||
|
Uri RedirectUri { get; }
|
||
|
}
|
||
|
}
|