first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using F9WebAiTest.Application.Dtos;
|
||||
using F9WebAiTest.Application.Dtos.Auth;
|
||||
|
||||
namespace F9WebAiTest.Application.Services.Auth;
|
||||
|
||||
public interface IAuthService
|
||||
{
|
||||
Task<LoginResultDto> LoginAsync(LoginDto dto);
|
||||
Task<LoginResultDto> RefreshTokenAsync(string refreshToken);
|
||||
Task RevokeRefreshTokenAsync(string refreshToken);
|
||||
Task<EmployeeInfoDto> GetCurrentUserAsync(long employeeId);
|
||||
Task<List<MenuDto>> GetUserMenusAsync(long employeeId);
|
||||
Task<List<string>> GetUserPermissionsAsync(long employeeId);
|
||||
Task ChangePasswordAsync(long employeeId, ChangePasswordDto dto);
|
||||
Task UpdateProfileAsync(long employeeId, UpdateProfileDto dto);
|
||||
}
|
||||
Reference in New Issue
Block a user