source:
iknow-api/Services/Interfaces/IAuthService.cs@
a92a2a4
| Last change on this file since a92a2a4 was c155364, checked in by , 11 months ago | |
|---|---|
|
|
| File size: 357 bytes | |
| Rev | Line | |
|---|---|---|
| [277bd72] | 1 | using iknow_api.DTOs; |
| [c155364] | 2 | using iknow_api.DTOs; |
| [277bd72] | 3 | namespace 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.
