using System.Collections.Generic; using System.Security.Claims; namespace New_College.Common.HttpContextUser { public interface IUser { string Name { get; } int ID { get; } bool IsAuthenticated(); IEnumerable GetClaimsIdentity(); List GetClaimValueByType(string ClaimType); string GetToken(); List GetUserInfoFromToken(string ClaimType); } }