|
|
@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Models.API
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public class OAuthResponse
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
[JsonPropertyName("access_token")]
|
|
|
|
|
|
|
|
public string AccessToken { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("expires_in")]
|
|
|
|
|
|
|
|
public int ExpiresIn { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("token_type")]
|
|
|
|
|
|
|
|
public string TokenType { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|