17 lines
660 B
C#
17 lines
660 B
C#
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);
|
|
}
|