source: iknow-api/Services/Interfaces/IAuthService.cs@ c2e73b6

Last change on this file since c2e73b6 was c155364, checked in by imbrsk <boris696boris@…>, 11 months ago

added remaining methods to refreshtoken feature

  • Property mode set to 100644
File size: 357 bytes
RevLine 
[277bd72]1using iknow_api.DTOs;
[c155364]2using iknow_api.DTOs;
[277bd72]3namespace iknow_api.Services
[5b42c8d]4{
5 public interface IAuthService
6 {
[c7d4a59]7 Task<bool> RegisterAsync(RegisterDto registerDto);
[3347c1b]8 Task<AuthResultDto?> LoginAsync(LoginDto loginDto);
[5b42c8d]9 Task<int> GetUsersCountAsync();
[c155364]10 Task<AuthResultDto> GenerateNewJWT(VerifyRefreshTokenDto token);
[5b42c8d]11 }
12}
Note: See TracBrowser for help on using the repository browser.