// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // using System.Text.Json.Serialization; namespace Astral.ApiServer.Models; /// /// OAuth Grant Request Response. /// public class TokenGrantResponseModel { /// /// The granted access token. /// [JsonPropertyName("access_token")] public string AccessToken { get; set; } /// /// The granted refresh token. /// [JsonPropertyName("refresh_token")] public string RefreshToken { get; set; } /// /// When it expires (ticks). /// [JsonPropertyName("expires_in")] public long ExpiresIn { get; set; } /// /// Granted token type. /// [JsonPropertyName("token_type")] public string TokenType { get; set; } }