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