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);
}