2023-10-13 16:25:34 +03:30
|
|
|
|
namespace Brizco.Core.CoreServices.Abstracts;
|
2023-09-20 11:54:12 +03:30
|
|
|
|
|
|
|
|
|
|
public interface IAccountService : IScopedDependency
|
|
|
|
|
|
{
|
2023-11-26 16:56:38 +03:30
|
|
|
|
public Task<AccessToken<ApplicationUserSDto, ComplexUserRoleSDto>> LoginWithPasswordAsync(string userName, string password, CancellationToken cancellationToken);
|
|
|
|
|
|
public Task<AccessToken<ApplicationUserSDto, ComplexUserRoleSDto>> LoginWithVerifyCodeAsync(string userName, string verifyCode, CancellationToken cancellationToken);
|
2023-10-18 17:19:56 +03:30
|
|
|
|
public Task<VerifyCodeResponseDto> GetVerifyCodeAsync(string phoneNumber);
|
2023-09-20 11:54:12 +03:30
|
|
|
|
public Task<bool> ForgetPasswordAsync(string phoneNumber);
|
|
|
|
|
|
public Task<bool> CheckMemberShipAsync(string phoneNumber);
|
2023-11-26 16:56:38 +03:30
|
|
|
|
public Task<AccessToken<ApplicationUserSDto, ComplexUserRoleSDto>> CompleteComplexSignUpAsync(SignUpRequestDto requestDto, CancellationToken cancellationToken);
|
2023-09-20 11:54:12 +03:30
|
|
|
|
}
|