public UserController(IUserProvider userProvider, IOTPProvider oTPProvider, IEmailHelper emailHelper, IJWTTokenHelper tokenHelper, IEncryptDecryptHelper encryptDecryptHelper) { _userProvider = userProvider; _OTPProvider = oTPProvider; _IEmailHelper = emailHelper; _IJWTTokenHelper = tokenHelper; _encryptDecryptHelper = encryptDecryptHelper; }
public OTPLoginController(ICommandSender commandSender, IQuerySender querySender, IPasswordHasher <string> passwordHasher, IAuthenticationHelper authenticationHelper, ISessionProvider sessionProvider, IOTPProvider otpProvider, ILogger logger, ISettings settings, IClientIpProvider clientIpProvider) { _commandSender = commandSender; _querySender = querySender; _passwordHasher = passwordHasher; _authenticationHelper = authenticationHelper; _sessionProvider = sessionProvider; _otpProvider = otpProvider; _logger = logger; _settings = settings; _clientIpProvider = clientIpProvider; }
public ClearDataController(IUserProvider userProvider, IOTPProvider oTPProvider) { _userProvider = userProvider; _OTPProvider = oTPProvider; }