Files
f9-web-ai-test/backend/F9WebAiTest.Application/Services/Auth/IAuthService.cs
T
2026-10-08 10:43:59 +08:00

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);
}