Files
tiku-backend.net/Tiku.Application/Security/ICurrentUser.cs

14 lines
288 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);
}