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

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

added remaining methods to refreshtoken feature

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