Чистка кода

This commit is contained in:
FrigaT
2026-04-14 01:05:06 +03:00
parent 5717b1ec0c
commit 40ea9166d2
29 changed files with 48 additions and 34 deletions

View File

@@ -0,0 +1,19 @@
using System.Text.Json.Serialization;
namespace PlaylistShared.Shared.Auth;
/// <summary>Ответ после успешного входа.</summary>
public class LoginResponse
{
/// <summary>JWT токен доступа.</summary>
[JsonPropertyName("token")]
public string Token { get; set; } = null!;
/// <summary>Refresh токен для обновления сессии.</summary>
[JsonPropertyName("refreshToken")]
public string RefreshToken { get; set; } = null!;
/// <summary>Время истечения токена (UTC).</summary>
[JsonPropertyName("expiration")]
public DateTime Expiration { get; set; }
}