0
0

IAuthService.cs 479 B

1234567891011121314151617181920
  1. using Microsoft.AspNetCore.Mvc.ModelBinding;
  2. using System.Threading.Tasks;
  3. using ZhonTai.Admin.Services.Auth.Dto;
  4. namespace ZhonTai.Admin.Services.Auth;
  5. /// <summary>
  6. /// 认证授权接口
  7. /// </summary>
  8. public interface IAuthService
  9. {
  10. Task<dynamic> LoginAsync(AuthLoginInput input);
  11. Task<AuthGetUserInfoOutput> GetUserInfoAsync();
  12. Task<AuthGetPasswordEncryptKeyOutput> GetPasswordEncryptKeyAsync();
  13. Task<dynamic> Refresh([BindRequired] string token);
  14. }