- LogoutResponseDto 신규 (logged_out, redirect_to 힌트) - LogoutAsync 반환 타입 Task → Task<LogoutResponseDto> - AuthController Swagger 문서에 설정 화면 단일 API 사용 명시 Closes #253
23 lines
1.2 KiB
C#
23 lines
1.2 KiB
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<LogoutResponseDto> LogoutAsync(long adminId, string accessToken);
|
|
Task<ChangePasswordResponseDto> ChangePasswordAsync(long adminId, ChangePasswordRequestDto request);
|
|
Task<EmailCheckResponseDto> CheckEmailAsync(EmailCheckRequestDto request);
|
|
Task<EmailVerifyResponseDto> VerifyEmailAsync(EmailVerifyRequestDto request);
|
|
Task<EmailResendResponseDto> ResendVerificationAsync(EmailResendRequestDto request);
|
|
Task ForgotPasswordAsync(PasswordForgotRequestDto request);
|
|
Task ResetPasswordAsync(PasswordResetRequestDto request);
|
|
Task IssueTempPasswordAsync(TempPasswordRequestDto request);
|
|
Task<ProfileResponseDto> GetProfileAsync(long adminId);
|
|
Task<ProfileResponseDto> UpdateProfileAsync(long adminId, UpdateProfileRequestDto request);
|
|
Task<ActivityListResponseDto> GetActivityListAsync(long adminId, ActivityListRequestDto request);
|
|
}
|