|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
-
- //
-
-
-
-
-
-
-
-
- using UAParser;
-
- namespace SafeCampus.System;
-
- /// <summary>
- /// 登录事件参数
- /// </summary>
- public class LoginEvent
- {
- /// <summary>
- /// 请求上下文
- /// </summary>
- public ClientInfo ClientInfo { get; set; }
-
- /// <summary>
- /// 用户信息
- /// </summary>
- public SysUser SysUser { get; set; }
-
- /// <summary>
- /// Ip地址
- /// </summary>
- public string Ip { get; set; }
-
- /// <summary>
- /// 登录设备
- /// </summary>
- public AuthDeviceTypeEnum Device { get; set; }
-
- /// <summary>
- /// Tokens
- /// </summary>
- public string Token { get; set; }
-
- /// <summary>
- /// 过期时间
- /// </summary>
- public int Expire { get; set; }
-
- /// <summary>
- /// 时间
- /// </summary>
- public DateTime DateTime = DateTime.Now;
- }
|