示例#1
0
 public UserController(IUserProvider userProvider, IOTPProvider oTPProvider, IEmailHelper emailHelper, IJWTTokenHelper tokenHelper, IEncryptDecryptHelper encryptDecryptHelper)
 {
     _userProvider         = userProvider;
     _OTPProvider          = oTPProvider;
     _IEmailHelper         = emailHelper;
     _IJWTTokenHelper      = tokenHelper;
     _encryptDecryptHelper = encryptDecryptHelper;
 }
示例#2
0
 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;
 }
示例#3
0
 public ClearDataController(IUserProvider userProvider, IOTPProvider oTPProvider)
 {
     _userProvider = userProvider;
     _OTPProvider  = oTPProvider;
 }