namespace TakeoutSaaS.Application.Identity.Models;

/// <summary>
/// 刷新令牌描述：存储刷新令牌的元数据信息。
/// </summary>
/// <param name="Token">刷新令牌值</param>
/// <param name="UserId">关联的用户 ID</param>
/// <param name="ExpiresAt">过期时间（UTC）</param>
/// <param name="Revoked">是否已撤销</param>
public sealed record RefreshTokenDescriptor(
    string Token,
    long UserId,
    DateTime ExpiresAt,
    bool Revoked);
