更新框架,增加云库搜索模块

This commit is contained in:
chfei committed 2026-09-18 18:40:10 +08:00
1 parent 8526e5e0d2
commit f2caec6083
192 files changed
+3626 -804

No files matched your search

@@ -0,0 +1,23 @@
namespace MAX.Framework.Security;
/// <summary>
/// 在线用户会话信息(单点登录:同一用户仅保留一个有效会话)。
/// </summary>
public class OnlineUserInfo
{
/// <summary>登录账户(唯一,作为会话键)</summary>
public string UserName { get; set; } = string.Empty;
/// <summary>用户昵称</summary>
public string NickName { get; set; } = string.Empty;
/// <summary>当前有效会话的令牌唯一标识(jti)</summary>
public string Jti { get; set; } = string.Empty;
/// <summary>登录时间(本地时间)</summary>
public DateTime LoginTime { get; set; }
/// <summary>会话过期时间(本地时间,与令牌 exp 一致)</summary>
public DateTime ExpiresAt { get; set; }
}