WYB
2021-03-22 91b8cdad021ab052e4991f3d41834a6f0ddc36b8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.Collections.Generic;
using System.Security.Claims;
 
namespace JiepeiWMS.Common.HttpContextUser
{
    public interface IUser
    {
        string Name { get; }
        int ID { get; }
        int SysOrgId { get; }
        bool IsAuthenticated();
        IEnumerable<Claim> GetClaimsIdentity();
        List<string> GetClaimValueByType(string ClaimType);
 
        string GetToken();
        List<string> GetUserInfoFromToken(string ClaimType);
    }
}