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

18 lines
421 B
C#

11 months ago
using System.Collections.Generic;
using System.Security.Claims;
namespace Admin.Core.Common
{
public interface IUser
{
string Name { get; }
int ID { get; }
bool IsAuthenticated();
IEnumerable<Claim> GetClaimsIdentity();
List<string> GetClaimValueByType(string ClaimType);
string GetToken();
List<string> GetUserInfoFromToken(string ClaimType);
}
}