mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
20 lines
397 B
C#
20 lines
397 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 BaseUri { get; }
|
|
}
|
|
}
|