Files
tiku-backend.net/Tiku.Application/Security/ICurrentUser.cs
xiong c497a3ca8d
Some checks failed
ci / release-gate (push) Has been cancelled
清理代码
2026-08-03 12:31:39 +08:00

13 lines
287 B
C#

using System.Security.Claims;
namespace Tiku.Application.Security;
public interface ICurrentUser
{
Guid? UserId { get; }
Guid? SessionId { get; }
string? Phone { get; }
string? Email { get; }
bool IsAuthenticated { get; }
void Load(ClaimsPrincipal principal);
}