IAuthService.cs 547 B

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