using System.Collections.Generic; using System.Security.Claims; using Tiobon.Core.Model; namespace Tiobon.Core.Common.HttpContextUser { public interface IUser { string Name { get; } long ID { get; } long TenantId { get; } bool IsAuthenticated(); IEnumerable GetClaimsIdentity(); List GetClaimValueByType(string ClaimType); string GetToken(); List GetUserInfoFromToken(string ClaimType); ServiceResult MessageModel { get; set; } } }