using AyCode.Core.Consts; using AyCode.Core.Helpers; using AyCode.Interfaces.Addresses; using AyCode.Interfaces.Logins; using AyCode.Interfaces.Profiles; using AyCode.Interfaces.ServiceProviders; using AyCode.Interfaces.Users; namespace AyCode.Services.Logins; public class AcLoginServiceClient : AcLoginServiceBase, IAcLoginServiceClient where TUser : class, IAcUser where TProfile : class, IAcProfile where TCompany : class, IAcCompanyBase where TUserToServiceProvider : class, IAcUserToCompanyBase where TProfileAddress : class, IAcAddress { public virtual TUser? Login(string email, string password, out string accessToken) { throw new NotImplementedException(); } public virtual Task LoginAsync(string email, string password) { return TaskHelper.ToThreadPoolTask(() => Login(email, password, out _)); } public virtual bool Logout() { throw new NotImplementedException(); } public virtual Task LogoutAsync() { return TaskHelper.ToThreadPoolTask(Logout); } public virtual AcErrorCode Registration(string email, string password, string? phoneNumber = null, Guid? referralId = null) { throw new NotImplementedException(); } public virtual AcErrorCode Registration(Guid userId, string email, string password, string? phoneNumber = null, Guid? referralId = null) { throw new NotImplementedException(); } public virtual Task RegistrationAsync(string email, string password, string? phoneNumber = null, Guid? referralId = null) { return TaskHelper.ToThreadPoolTask(() => Registration(email, password, phoneNumber)); } public virtual Task RegistrationAsync(Guid userId, string email, string password, string? phoneNumber = null, Guid? referralId = null) { throw new NotImplementedException(); } public virtual AcErrorCode ChangePassword(Guid userId, string oldPassword, string newPassword) { throw new NotImplementedException(); } public virtual Task ChangePasswordAsync(Guid userId, string oldPassword, string newPassword) { throw new NotImplementedException(); } public AcErrorCode ForgotPassword(string email, string newPassword) { throw new NotImplementedException(); } public async Task ForgotPasswordAsync(string email, string newPassword) { throw new NotImplementedException(); } }