🗃️ Class to store the response from the OAuthRequest (token)

API-Integration
Rémi LAVERGNE 1 year ago
parent aec0db1257
commit 347ccb454c

@ -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; }
}
}
Loading…
Cancel
Save