mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-10-17 15:33:09 +01:00
27 lines
608 B
C#
27 lines
608 B
C#
|
using System.Collections.Generic;
|
||
|
namespace SpotifyAPI.Web.Auth
|
||
|
{
|
||
|
public class LoginRequest
|
||
|
{
|
||
|
public LoginRequest(string clientId, ResponseType responseType)
|
||
|
{
|
||
|
Ensure.ArgumentNotNullOrEmptyString(clientId, nameof(clientId));
|
||
|
|
||
|
ClientId = clientId;
|
||
|
ResponseTypeParam = responseType;
|
||
|
}
|
||
|
|
||
|
public ResponseType ResponseTypeParam { get; }
|
||
|
public string ClientId { get; }
|
||
|
public string State { get; set; }
|
||
|
public ICollection<string> Scope { get; set; }
|
||
|
public bool? ShowDialog { get; set; }
|
||
|
|
||
|
public enum ResponseType
|
||
|
{
|
||
|
Code,
|
||
|
Token
|
||
|
}
|
||
|
}
|
||
|
}
|