SPMS_API/SPMS.Application/Interfaces/IAuthService.cs
SEAN e81b12fbea feat: 내 정보 조회/수정 API 구현 (#62)
- ProfileResponseDto, UpdateProfileRequestDto 생성
- IAuthService에 GetProfileAsync, UpdateProfileAsync 추가
- AuthService에 프로필 조회/수정 로직 구현
- ProfileController 생성 (v1/in/account/profile)
2026-02-10 10:48:57 +09:00

17 lines
711 B
C#

using SPMS.Application.DTOs.Account;
using SPMS.Application.DTOs.Auth;
namespace SPMS.Application.Interfaces;
public interface IAuthService
{
Task<SignupResponseDto> SignupAsync(SignupRequestDto request);
Task<LoginResponseDto> LoginAsync(LoginRequestDto request);
Task<TokenRefreshResponseDto> RefreshTokenAsync(TokenRefreshRequestDto request);
Task LogoutAsync(long adminId);
Task ChangePasswordAsync(long adminId, ChangePasswordRequestDto request);
Task<EmailCheckResponseDto> CheckEmailAsync(EmailCheckRequestDto request);
Task<ProfileResponseDto> GetProfileAsync(long adminId);
Task<ProfileResponseDto> UpdateProfileAsync(long adminId, UpdateProfileRequestDto request);
}