mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 00:16:26 +00:00
21 lines
396 B
C#
21 lines
396 B
C#
using System;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class TokenSwapTokenRequest
|
|
{
|
|
public TokenSwapTokenRequest(Uri tokenUri, string code)
|
|
{
|
|
Ensure.ArgumentNotNull(tokenUri, nameof(tokenUri));
|
|
Ensure.ArgumentNotNullOrEmptyString(code, nameof(code));
|
|
|
|
TokenUri = tokenUri;
|
|
Code = code;
|
|
}
|
|
|
|
public string Code { get; }
|
|
|
|
public Uri TokenUri { get; }
|
|
}
|
|
}
|