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

Last change on this file since a92a2a4 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
Line 
1using iknow_api.DTOs;
2using iknow_api.DTOs;
3namespace iknow_api.Services
4{
5 public interface IAuthService
6 {
7 Task<bool> RegisterAsync(RegisterDto registerDto);
8 Task<AuthResultDto?> LoginAsync(LoginDto loginDto);
9 Task<int> GetUsersCountAsync();
10 Task<AuthResultDto> GenerateNewJWT(VerifyRefreshTokenDto token);
11 }
12}
Note: See TracBrowser for help on using the repository browser.