Add RefreshToken to AuthorizationCodeRefreshResponse

This commit is contained in:
Jonas Dellinger 2021-08-20 16:11:19 +02:00 committed by GitHub
parent 4340515471
commit 9ca573f748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,12 +2,13 @@ using System;
namespace SpotifyAPI.Web
{
public class AuthorizationCodeRefreshResponse: IUserToken
public class AuthorizationCodeRefreshResponse: IRefreshableToken
{
public string AccessToken { get; set; } = default!;
public string TokenType { get; set; } = default!;
public int ExpiresIn { get; set; }
public string Scope { get; set; } = default!;
public string RefreshToken { get; set; } = default!;
/// <summary>
/// Auto-Initalized to UTC Now