IAuthService.cs 468 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using wispro.sp.share.webViewObject;
  6. namespace wispro.sp.web.Services
  7. {
  8. public interface IAuthService
  9. {
  10. Task<bool> LoginAsync(loginDto userInfo);
  11. Task LogoutAsync();
  12. Task<List<string>> GetRoles(string ResourceId);
  13. Task<bool> ChangePassword(changePasswordDto dto);
  14. Task<bool> CanVisitResource(string resId);
  15. }
  16. }