IUser.cs 338 B

1234567891011121314
  1. using System.Collections.Generic;
  2. using System.Security.Claims;
  3. namespace Admin.Core.Common.Auth
  4. {
  5. public interface IUser
  6. {
  7. long Id { get; }
  8. string Name { get; }
  9. bool IsAuthenticated();
  10. IEnumerable<Claim> GetClaimsIdentity();
  11. List<string> GetClaimValueByType(string ClaimType);
  12. }
  13. }