public CustomerController(IAuthenticationService authenticationService,
     ILocalizationService localizationService,
      IWorkContext workContext,
      ICustomerService customerService,
      ICustomerRegistrationService customerRegistrationService,
     CustomerSettings customerSettings,
      IAddressService addressService,
      IWebHelper webHelper,
      LocalizationSettings localizationSettings, 
     CaptchaSettings captchaSettings,
     SecuritySettings securitySettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     ICustomerActivityService customerActivityService,
     DateTimeSettings dateTimeSettings,
     IDateTimeHelper dateTimeHelper,
     IGenericAttributeService genericAttributeService,
     IPermissionService permissionService)
 {
     this._authenticationService = authenticationService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._customerRegistrationService = customerRegistrationService;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._addressService = addressService;
     this._webHelper = webHelper;
     this._localizationSettings = localizationSettings;
     this._captchaSettings = captchaSettings;
     this._securitySettings = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._customerActivityService = customerActivityService;
     this._dateTimeSettings = dateTimeSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._genericAttributeService = genericAttributeService;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContext">HTTP context</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="customerSettings">Customer settings</param>
 public FormsAuthenticationService(HttpContextBase httpContext,
     ICustomerService customerService, CustomerSettings customerSettings)
 {
     this._httpContext = httpContext;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._expirationTimeSpan = FormsAuthentication.Timeout;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerService">Customer service</param>
 /// <param name="encryptionService">Encryption service</param>
 /// <param name="newsLetterSubscriptionService">Newsletter subscription service</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="storeService">Store service</param>
 /// <param name="rewardPointsSettings">Reward points settings</param>
 /// <param name="customerSettings">Customer settings</param>
 public CustomerRegistrationService(ICustomerService customerService,
     IEncryptionService encryptionService,
     ILocalizationService localizationService,
     CustomerSettings customerSettings)
 {
     this._customerService = customerService;
     this._encryptionService = encryptionService;
     this._localizationService = localizationService;
     this._customerSettings = customerSettings;
 }
Example #4
0
 public CustomerService(ICacheManager cacheManager,
     IRepository<Customer> customerRepository,
       IRepository<CustomerRole> customerRoleRepository,
     IDataProvider dataProvider,
     IDbContext dbContext,
     IEventPublisher eventPublisher,
     CommonSettings commonSettings,
     CustomerSettings customers)
 {
     _cacheManager = cacheManager;
     _customerRepository = customerRepository;
     _customerRoleRepository = customerRoleRepository;
     _dataProvider = dataProvider;
     _dbContext = dbContext;
     _commonSettings = commonSettings;
     _eventPublisher = eventPublisher;
 }
 public ExternalAuthorizer(IAuthenticationService authenticationService,
     IOpenAuthenticationService openAuthenticationService,
     ICustomerRegistrationService customerRegistrationService, 
     ICustomerActivityService customerActivityService, ILocalizationService localizationService,
     IWorkContext workContext, CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     LocalizationSettings localizationSettings)
 {
     this._authenticationService = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerActivityService = customerActivityService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._localizationSettings = localizationSettings;
 }
 public CustomerAdminController(IPermissionService permissionService, 
     ICustomerService customerService,
     CustomerSettings customerSettings,
     ILocalizationService localizationService,
     IDateTimeHelper dateTimeHelper,
     DateTimeSettings dateTimeSettings,
     IOpenAuthenticationService openAuthenticationService,
     IGenericAttributeService genericAttributeService,
     ICustomerActivityService customerActivityService,
     ICustomerRegistrationService customerRegistrationService,
     IWorkContext workContext)
 {
     this._permissionService = permissionService;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._dateTimeSettings = dateTimeSettings;
     this._openAuthenticationService = openAuthenticationService;
     this._genericAttributeService = genericAttributeService;
     this._customerActivityService = customerActivityService;
     this._customerRegistrationService = customerRegistrationService;
     this._workContext = workContext;
 }