public SignInCommand( IUserRepository userRepository, IJwtTokenService tokenService, IPasswordEncoder passwordEncoder ) { UserRepository = userRepository; TokenService = tokenService; PasswordEncoder = passwordEncoder; }
public AccountService( IJwtServiceProvider jwtServiceProvider, IRoleService roleService, IUserService userService, IPasswordEncoder passwordEncoder) { _jwtServiceProvider = jwtServiceProvider; _roleService = roleService; _userService = userService; _passwordEncoder = passwordEncoder; }
public RegistrationService( IPasswordEncoder passwordEncoder, IUniqueAccountsRepository uniqueAccountsRepository, IClientRepository clientRepository, IEventStore eventStore, IEmailSender emailSender, ISellerRepository sellerRepository) { _passwordEncoder = passwordEncoder; _uniqueAccountsRepository = uniqueAccountsRepository; _clientRepository = clientRepository; _eventStore = eventStore; _emailSender = emailSender; _sellerRepository = sellerRepository; }
public RegisterExistingUserPreCommand(IRegistrationUserValidatorResolver validatorResolver, IPasswordEncoder passwordEncoder, IProvideUserConfiguration configuration, IExternalUserService externalUserService) { if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); if (passwordEncoder == null) throw new ArgumentNullException("passwordEncoder"); if (configuration == null) throw new ArgumentNullException("configuration"); this.passwordEncoder = passwordEncoder; this.validatorResolver = validatorResolver; this.configuration = configuration; this.externalUserService = externalUserService; }
public ResetPasswordConfirmPreCommand(IProvideUserConfiguration configuration, IPasswordEncoder passwordEncoder, IPasswordManagementUserValidatorResolver validatorResolver, IPasswordManagementUserService service) { if (configuration == null) throw new ArgumentNullException("configuration"); if (passwordEncoder == null) throw new ArgumentNullException("passwordEncoder"); if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); if (service == null) throw new ArgumentNullException("service"); this.configuration = configuration; this.passwordEncoder = passwordEncoder; this.validatorResolver = validatorResolver; this.service = service; }
public LoginUserCommand(ILoginUserValidatorResolver validatorResolver, ILoginUserService service, IProvideUserConfiguration userConfiguration, IPasswordEncoder passwordEncoder) { if (service == null) throw new ArgumentNullException("service"); if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); if (userConfiguration == null) throw new ArgumentNullException("userConfiguration"); if (passwordEncoder == null) throw new ArgumentNullException("passwordEncoder"); this.validatorResolver = validatorResolver; this.service = service; this.userConfiguration = userConfiguration; this.passwordEncoder = passwordEncoder; }
public AuthorizationService(IRepository <Admin> adminRepository, IPasswordEncoder passwordEncoder, IJwtManager jwtManager) { _adminRepository = adminRepository; _passwordEncoder = passwordEncoder; _jwtManager = jwtManager; }
public SignUpCommand(IUserRepository userRepository, IPasswordEncoder passwordEncoder, IJwtTokenService tokenService) { UserRepository = userRepository; PasswordEncoder = passwordEncoder; TokenService = tokenService; }
public UsersDataService(Func <UsersContext> contextLocator, IPasswordEncoder passwordEncoder) { this.contextLocator = contextLocator; this.passwordEncoder = passwordEncoder; }
public PasswordChecker(IPasswordEncoder passwordEncoder) { _passwordEncoder = passwordEncoder; }
public PasswordHasher(IPasswordEncoder passwordEncoder) { PasswordEncoder = passwordEncoder; }
public UserController() { _passwordEncoder = new BCryptPasswordEncoder(); }
public UserController(IDocumentIdRetriever documentIdRetriever, IPasswordEncoder passwordEncoder) { _documentIdRetriever = documentIdRetriever; _passwordEncoder = passwordEncoder; }
public UserService(UserDAO userDao, RefreshTokenDAO refreshTokenDao, IPasswordEncoder passwordEncoder) { _userDao = userDao; _refreshTokenDao = refreshTokenDao; _passwordEncoder = passwordEncoder; }
public UpdatePasswordCommand(IUserRepository userRepository, IPasswordEncoder passwordEncoder) { UserRepository = userRepository; PasswordEncoder = passwordEncoder; }