Api/Brizco.Core/CoreServices/Abstracts/IAccountService.cs

11 lines
813 B
C#
Raw Normal View History

2023-10-13 16:25:34 +03:30
namespace Brizco.Core.CoreServices.Abstracts;
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);
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);
}