/ GUNRPG.ConsoleClient / Auth / SessionData.cs
SessionData.cs
 1  namespace GUNRPG.ConsoleClient.Auth;
 2  
 3  /// <summary>
 4  /// Represents a persisted user session stored in <c>~/.gunrpg/session.json</c>.
 5  /// Only the refresh token and minimal identity data are stored on disk;
 6  /// the access token is kept in memory only.
 7  /// </summary>
 8  public sealed record SessionData(
 9      string RefreshToken,
10      string UserId,
11      DateTimeOffset CreatedAt
12  );