Spotify.NET/SpotifyAPI.Web.Auth/Models/Response/AuthorizationCodeResponse.cs

16 lines
329 B
C#
Raw Normal View History

2020-05-15 19:06:24 +01:00
namespace SpotifyAPI.Web.Auth
{
public class AuthorizationCodeResponse
{
public AuthorizationCodeResponse(string code)
{
Ensure.ArgumentNotNullOrEmptyString(code, nameof(code));
Code = code;
}
2020-05-25 17:00:38 +01:00
public string Code { get; set; } = default!;
2020-11-13 13:43:00 +00:00
public string? State { get; set; } = default!;
2020-05-15 19:06:24 +01:00
}
}