public DefaultAuthService(IOptions <AppSettings> appSettings, IRepository <User> userRepository, IPasswordProtector passwordProtector, IRepository <Transaction> transactionRepository) { this.appSettings = appSettings.Value; this.userRepository = userRepository; this.transactionRepository = transactionRepository; this.passwordProtector = passwordProtector; }
public UserEntranceProvider(IUserRepository database, IPasswordProtector <HashedPasswordWithSalt> protection, IMapper mapper) { this.database = database; this.protection = protection; this.mapper = mapper; }
public PasswordProtectorTest() { this.passwordProtector = new DefaultPasswordProtector(); }
public UserCRUDService(IUserRepository database, IPasswordProtector <HashedPasswordWithSalt> protector, IMapper mapper) { this.database = database; this.protector = protector; this.mapper = mapper; }