MireaBackend/Security/Common/OAuth2/OAuthTokenResponse.cs

12 lines
293 B
C#
Raw Normal View History

2024-11-04 02:39:10 +03:00
using System.Text.Json.Serialization;
2024-12-26 13:38:43 +03:00
namespace Mirea.Api.Security.Common.OAuth2;
2024-11-04 02:39:10 +03:00
2024-12-26 13:38:43 +03:00
internal class OAuthTokenResponse
2024-11-04 02:39:10 +03:00
{
[JsonPropertyName("access_token")]
public required string AccessToken { get; set; }
[JsonPropertyName("expires_in")]
public int ExpiresIn { get; set; }
}