namespace PS.IPAM; using System; /// /// Represents an authenticated session with phpIPAM API. /// [Serializable] public sealed record Session( AuthType AuthType, string Token, string AppID, string URL, DateTime? Expires, object? Credentials ) { /// /// Gets or sets the current authentication token. /// public string Token { get; set; } = Token; /// /// Gets or sets the token expiration time. /// public DateTime? Expires { get; set; } = Expires; }