You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
596 B

using System.Security.Claims;
using Tiobon.Core.Model.Entity;
namespace Tiobon.Core.Common.HttpContextUser;
public interface IUser
{
string Name { get; }
int ID { get; }
long TenantId { get; }
bool IsAuthenticated();
int StaffId { get; }
string StaffName { get; }
string StaffNo { get; }
IEnumerable<Claim> GetClaimsIdentity();
List<string> GetClaimValueByType(string ClaimType);
string GetToken();
List<string> GetUserInfoFromToken(string ClaimType, string token);
ServiceResult<string> MessageModel { get; set; }
int? GetLangId();
}