21 lines
No EOL
520 B
C#
21 lines
No EOL
520 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Geekbot.Web.Controllers.Callback;
|
|
|
|
public record CallbackTokenResponse
|
|
{
|
|
[JsonPropertyName("access_token")]
|
|
public string AccessToken { get; set; }
|
|
|
|
[JsonPropertyName("token_type")]
|
|
public string TokenType { get; set; }
|
|
|
|
[JsonPropertyName("expires_in")]
|
|
public int ExpiresIn { get; set; }
|
|
|
|
[JsonPropertyName("refresh_token")]
|
|
public string RefreshToken { get; set; }
|
|
|
|
[JsonPropertyName("scope")]
|
|
public string Scope { get; set; }
|
|
} |