18 lines
769 B
C#
18 lines
769 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 VerifyEmailAsync(EmailVerifyRequestDto request);
|
|
Task<ProfileResponseDto> GetProfileAsync(long adminId);
|
|
Task<ProfileResponseDto> UpdateProfileAsync(long adminId, UpdateProfileRequestDto request);
|
|
}
|