- ChangePasswordRequestDto 추가 - IAuthService/AuthService에 ChangePasswordAsync 구현 - AuthController에 POST /v1/in/auth/password/change 엔드포인트 추가 - 현재 비밀번호 검증 및 BCrypt 해싱 적용 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
372 B
C#
12 lines
372 B
C#
using SPMS.Application.DTOs.Auth;
|
|
|
|
namespace SPMS.Application.Interfaces;
|
|
|
|
public interface IAuthService
|
|
{
|
|
Task<LoginResponseDto> LoginAsync(LoginRequestDto request);
|
|
Task<TokenRefreshResponseDto> RefreshTokenAsync(TokenRefreshRequestDto request);
|
|
Task LogoutAsync(long adminId);
|
|
Task ChangePasswordAsync(long adminId, ChangePasswordRequestDto request);
|
|
}
|