mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-21 14:51:58 +08:00
25 lines
588 B
C#
25 lines
588 B
C#
using Util.Sessions;
|
|
|
|
namespace Util.Datas.Tests.Commons {
|
|
/// <summary>
|
|
/// 用户会话
|
|
/// </summary>
|
|
public class Session : ISession {
|
|
/// <summary>
|
|
/// 初始化用户会话
|
|
/// </summary>
|
|
public Session( string userId ) {
|
|
UserId = userId;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户标识
|
|
/// </summary>
|
|
public string UserId { get; }
|
|
|
|
/// <summary>
|
|
/// 是否认证
|
|
/// </summary>
|
|
public bool IsAuthenticated => throw new System.NotImplementedException();
|
|
}
|
|
} |