public PluginModelFactory(IAclSupportedModelFactory aclSupportedModelFactory,
                           IAuthenticationPluginManager authenticationPluginManager,
                           IBaseAdminModelFactory baseAdminModelFactory,
                           ICacheKeyService cacheKeyService,
                           ILocalizationService localizationService,
                           ILocalizedModelFactory localizedModelFactory,
                           IPaymentPluginManager paymentPluginManager,
                           IPickupPluginManager pickupPluginManager,
                           IPluginService pluginService,
                           IShippingPluginManager shippingPluginManager,
                           IStaticCacheManager staticCacheManager,
                           IStoreMappingSupportedModelFactory storeMappingSupportedModelFactory,
                           ITaxPluginManager taxPluginManager,
                           IWidgetPluginManager widgetPluginManager,
                           IWorkContext workContext,
                           OfficialFeedManager officialFeedManager)
 {
     _aclSupportedModelFactory    = aclSupportedModelFactory;
     _authenticationPluginManager = authenticationPluginManager;
     _baseAdminModelFactory       = baseAdminModelFactory;
     _cacheKeyService             = cacheKeyService;
     _localizationService         = localizationService;
     _localizedModelFactory       = localizedModelFactory;
     _paymentPluginManager        = paymentPluginManager;
     _pickupPluginManager         = pickupPluginManager;
     _pluginService                     = pluginService;
     _shippingPluginManager             = shippingPluginManager;
     _staticCacheManager                = staticCacheManager;
     _storeMappingSupportedModelFactory = storeMappingSupportedModelFactory;
     _taxPluginManager                  = taxPluginManager;
     _widgetPluginManager               = widgetPluginManager;
     _workContext         = workContext;
     _officialFeedManager = officialFeedManager;
 }
예제 #2
0
 public AuthenticationController(
     IExternalAuthenticationService externalAuthenticationService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ISettingService settingService,
     IStoreContext storeContext,
     IOptionsMonitorCache <FacebookOptions> optionsFacebookCache,
     IOptionsMonitorCache <TwitterOptions> optionsTwitterCache,
     IOptionsMonitorCache <GoogleOptions> optionsGoogleCache,
     IOptionsMonitorCache <MicrosoftAccountOptions> optionsMicrosoftCache,
     IAuthenticationPluginManager authenticationPluginManager,
     INotificationService notificationService,
     IHttpContextAccessor httpContextAccessor
     )
 {
     _externalAuthenticationService = externalAuthenticationService;
     _localizationService           = localizationService;
     _permissionService             = permissionService;
     _settingService              = settingService;
     _storeContext                = storeContext;
     _optionsFacebookCache        = optionsFacebookCache;
     _optionsTwitterCache         = optionsTwitterCache;
     _optionsGoogleCache          = optionsGoogleCache;
     _optionsMicrosoftCache       = optionsMicrosoftCache;
     _authenticationPluginManager = authenticationPluginManager;
     _notificationService         = notificationService;
     _httpContextAccessor         = httpContextAccessor;
 }
예제 #3
0
 public ExternalAuthenticationService(CustomerSettings customerSettings,
                                      ExternalAuthenticationSettings externalAuthenticationSettings,
                                      IAuthenticationPluginManager authenticationPluginManager,
                                      IAuthenticationService authenticationService,
                                      ICustomerActivityService customerActivityService,
                                      ICustomerRegistrationService customerRegistrationService,
                                      ICustomerService customerService,
                                      IEventPublisher eventPublisher,
                                      IGenericAttributeService genericAttributeService,
                                      ILocalizationService localizationService,
                                      IRepository <ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
                                      IShoppingCartService shoppingCartService,
                                      IStoreContext storeContext,
                                      IWorkContext workContext,
                                      IWorkflowMessageService workflowMessageService,
                                      LocalizationSettings localizationSettings)
 {
     _customerSettings = customerSettings;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _authenticationPluginManager    = authenticationPluginManager;
     _authenticationService          = authenticationService;
     _customerActivityService        = customerActivityService;
     _customerRegistrationService    = customerRegistrationService;
     _customerService         = customerService;
     _eventPublisher          = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _localizationService     = localizationService;
     _externalAuthenticationRecordRepository = externalAuthenticationRecordRepository;
     _shoppingCartService    = shoppingCartService;
     _storeContext           = storeContext;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
 }
예제 #4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerSettings">Customer settings</param>
 /// <param name="externalAuthenticationSettings">External authentication settings</param>
 /// <param name="authenticationService">Authentication service</param>
 /// <param name="customerActivityService">Customer activity service</param>
 /// <param name="customerRegistrationService">Customer registration service</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="pluginService">Plugin finder</param>
 /// <param name="externalAuthenticationRecordRepository">External authentication record repository</param>
 /// <param name="shoppingCartService">Shopping cart service</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="localizationSettings">Localization settings</param>
 public ExternalAuthenticationService_Override(
     CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IAuthenticationPluginManager authenticationPluginManager,
     ICustomerRegistrationService customerRegistrationService,
     ICustomerService customerService,
     IEventPublisher eventPublisher,
     IGenericAttributeService genericAttributeService,
     ILocalizationService localizationService,
     IRepository <ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
     IStoreContext storeContext,
     IWorkContext workContext,
     IWorkflowMessageService workflowMessageService,
     LocalizationSettings localizationSettings
     ) : base(
         customerSettings,
         externalAuthenticationSettings,
         authenticationPluginManager,
         customerRegistrationService,
         customerService,
         eventPublisher,
         genericAttributeService,
         localizationService,
         externalAuthenticationRecordRepository,
         storeContext,
         workContext,
         workflowMessageService,
         localizationSettings)
 {
     this._customerService             = customerService;
     this._workContext                 = workContext;
     this._authenticationPluginManager = authenticationPluginManager;
 }
예제 #5
0
 public ExternalAuthenticationService(CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IActionContextAccessor actionContextAccessor,
     IAuthenticationPluginManager authenticationPluginManager,
     ICustomerRegistrationService customerRegistrationService,
     ICustomerService customerService,
     IEventPublisher eventPublisher,
     IGenericAttributeService genericAttributeService,
     IHttpContextAccessor httpContextAccessor,
     ILocalizationService localizationService,
     IRepository<ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
     IStoreContext storeContext,
     IUrlHelperFactory urlHelperFactory,
     IWorkContext workContext,
     IWorkflowMessageService workflowMessageService,
     LocalizationSettings localizationSettings)
 {
     _customerSettings = customerSettings;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _actionContextAccessor = actionContextAccessor;
     _authenticationPluginManager = authenticationPluginManager;
     _customerRegistrationService = customerRegistrationService;
     _customerService = customerService;
     _eventPublisher = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _httpContextAccessor = httpContextAccessor;
     _localizationService = localizationService;
     _externalAuthenticationRecordRepository = externalAuthenticationRecordRepository;
     _storeContext = storeContext;
     _urlHelperFactory = urlHelperFactory;
     _workContext = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings = localizationSettings;
 }
 public ExternalAuthenticationModelFactory(IAuthenticationPluginManager authenticationPluginManager,
                                           IStoreContext storeContext,
                                           IWorkContext workContext)
 {
     _authenticationPluginManager = authenticationPluginManager;
     _storeContext = storeContext;
     _workContext  = workContext;
 }
 public ExternalAuthenticationController(ExternalAuthenticationSettings externalAuthenticationSettings,
                                         IAuthenticationPluginManager authenticationPluginManager,
                                         IEventPublisher eventPublisher,
                                         IExternalAuthenticationMethodModelFactory externalAuthenticationMethodModelFactory,
                                         IPermissionService permissionService,
                                         ISettingService settingService)
 {
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _authenticationPluginManager    = authenticationPluginManager;
     _eventPublisher = eventPublisher;
     _externalAuthenticationMethodModelFactory = externalAuthenticationMethodModelFactory;
     _permissionService = permissionService;
     _settingService    = settingService;
 }
 public OAuth2AuthenticationController(IExternalAuthenticationService externalAuthenticationService,
                                       ILocalizationService localizationService,
                                       IOptionsMonitorCache <OAuthOptions> optionsCache,
                                       ISettingService settingService,
                                       OAuth2AuthenticationSettings oAuth2AuthenticationSettings,
                                       IAuthenticationPluginManager authenticationPluginManager)
 {
     _externalAuthenticationService = externalAuthenticationService;
     _localizationService           = localizationService;
     _optionsCache   = optionsCache;
     _settingService = settingService;
     _oAuth2AuthenticationSettings = oAuth2AuthenticationSettings;
     _authenticationPluginManager  = authenticationPluginManager;
 }
 public NovellActiveDirectoryAuthenticationController(NovellActiveDirectoryExternalAuthSettings novellActiveDirectoryExternalAuthSettings, IExternalAuthenticationService externalAuthenticationService, ILocalizationService localizationService, IPermissionService permissionService, ISettingService settingService, ICustomerService customerService, IAuthenticationService authenticationService, IShoppingCartService shoppingCartService, IWorkContext workContext, IEventPublisher eventPublisher, ICustomerActivityService customerActivityService, IStaticCacheManager cacheManager, INotificationService notificationService, ILdapService ldapService, IStoreService storeService, IStoreContext storeContext, IAuthenticationPluginManager authenticationPluginManager)
 {
     _novellActiveDirectoryExternalAuthSettings = novellActiveDirectoryExternalAuthSettings;
     _externalAuthenticationService             = externalAuthenticationService;
     _localizationService         = localizationService;
     _permissionService           = permissionService;
     _settingService              = settingService;
     _workContext                 = workContext;
     _customerActivityService     = customerActivityService;
     _notificationService         = notificationService;
     _ldapService                 = ldapService;
     _storeService                = storeService;
     _storeContext                = storeContext;
     _authenticationPluginManager = authenticationPluginManager;
 }
예제 #10
0
 public PluginController(ExternalAuthenticationSettings externalAuthenticationSettings,
                         IAuthenticationPluginManager authenticationPluginManager,
                         ICustomerActivityService customerActivityService,
                         IEventPublisher eventPublisher,
                         ILocalizationService localizationService,
                         IMultiFactorAuthenticationPluginManager multiFactorAuthenticationPluginManager,
                         INotificationService notificationService,
                         IPermissionService permissionService,
                         IPaymentPluginManager paymentPluginManager,
                         IPickupPluginManager pickupPluginManager,
                         IPluginModelFactory pluginModelFactory,
                         IPluginService pluginService,
                         ISettingService settingService,
                         IShippingPluginManager shippingPluginManager,
                         IUploadService uploadService,
                         IWebHelper webHelper,
                         IWidgetPluginManager widgetPluginManager,
                         IWorkContext workContext,
                         MultiFactorAuthenticationSettings multiFactorAuthenticationSettings,
                         PaymentSettings paymentSettings,
                         ShippingSettings shippingSettings,
                         TaxSettings taxSettings,
                         WidgetSettings widgetSettings)
 {
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _authenticationPluginManager    = authenticationPluginManager;
     _customerActivityService        = customerActivityService;
     _eventPublisher      = eventPublisher;
     _localizationService = localizationService;
     _multiFactorAuthenticationPluginManager = multiFactorAuthenticationPluginManager;
     _notificationService               = notificationService;
     _permissionService                 = permissionService;
     _paymentPluginManager              = paymentPluginManager;
     _pickupPluginManager               = pickupPluginManager;
     _pluginModelFactory                = pluginModelFactory;
     _pluginService                     = pluginService;
     _settingService                    = settingService;
     _shippingPluginManager             = shippingPluginManager;
     _uploadService                     = uploadService;
     _webHelper                         = webHelper;
     _widgetPluginManager               = widgetPluginManager;
     _workContext                       = workContext;
     _multiFactorAuthenticationSettings = multiFactorAuthenticationSettings;
     _paymentSettings                   = paymentSettings;
     _shippingSettings                  = shippingSettings;
     _taxSettings                       = taxSettings;
     _widgetSettings                    = widgetSettings;
 }
예제 #11
0
 public FacebookAuthenticationController(FacebookExternalAuthSettings facebookExternalAuthSettings,
                                         IAuthenticationPluginManager authenticationPluginManager,
                                         IExternalAuthenticationService externalAuthenticationService,
                                         ILocalizationService localizationService,
                                         INotificationService notificationService,
                                         IOptionsMonitorCache <FacebookOptions> optionsCache,
                                         IPermissionService permissionService,
                                         ISettingService settingService,
                                         IStoreContext storeContext,
                                         IWorkContext workContext)
 {
     _facebookExternalAuthSettings  = facebookExternalAuthSettings;
     _authenticationPluginManager   = authenticationPluginManager;
     _externalAuthenticationService = externalAuthenticationService;
     _localizationService           = localizationService;
     _notificationService           = notificationService;
     _optionsCache      = optionsCache;
     _permissionService = permissionService;
     _settingService    = settingService;
     _storeContext      = storeContext;
     _workContext       = workContext;
 }
 public CommonModelFactory(AdminAreaSettings adminAreaSettings,
                           CatalogSettings catalogSettings,
                           CurrencySettings currencySettings,
                           IActionContextAccessor actionContextAccessor,
                           IAuthenticationPluginManager authenticationPluginManager,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           IDateTimeHelper dateTimeHelper,
                           INopFileProvider fileProvider,
                           IExchangeRatePluginManager exchangeRatePluginManager,
                           IHttpContextAccessor httpContextAccessor,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           IMaintenanceService maintenanceService,
                           IMeasureService measureService,
                           IOrderService orderService,
                           IPaymentPluginManager paymentPluginManager,
                           IPickupPluginManager pickupPluginManager,
                           IPluginService pluginService,
                           IProductService productService,
                           IReturnRequestService returnRequestService,
                           ISearchTermService searchTermService,
                           IShippingPluginManager shippingPluginManager,
                           IStaticCacheManager cacheManager,
                           IStoreContext storeContext,
                           IStoreService storeService,
                           ITaxPluginManager taxPluginManager,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWidgetPluginManager widgetPluginManager,
                           IWorkContext workContext,
                           MeasureSettings measureSettings,
                           NopConfig nopConfig,
                           NopHttpClient nopHttpClient,
                           ProxySettings proxySettings)
 {
     _adminAreaSettings           = adminAreaSettings;
     _catalogSettings             = catalogSettings;
     _currencySettings            = currencySettings;
     _actionContextAccessor       = actionContextAccessor;
     _authenticationPluginManager = authenticationPluginManager;
     _currencyService             = currencyService;
     _customerService             = customerService;
     _dateTimeHelper            = dateTimeHelper;
     _exchangeRatePluginManager = exchangeRatePluginManager;
     _httpContextAccessor       = httpContextAccessor;
     _languageService           = languageService;
     _localizationService       = localizationService;
     _maintenanceService        = maintenanceService;
     _measureService            = measureService;
     _fileProvider          = fileProvider;
     _orderService          = orderService;
     _paymentPluginManager  = paymentPluginManager;
     _pickupPluginManager   = pickupPluginManager;
     _pluginService         = pluginService;
     _productService        = productService;
     _returnRequestService  = returnRequestService;
     _searchTermService     = searchTermService;
     _shippingPluginManager = shippingPluginManager;
     _cacheManager          = cacheManager;
     _storeContext          = storeContext;
     _storeService          = storeService;
     _taxPluginManager      = taxPluginManager;
     _urlHelperFactory      = urlHelperFactory;
     _urlRecordService      = urlRecordService;
     _webHelper             = webHelper;
     _widgetPluginManager   = widgetPluginManager;
     _workContext           = workContext;
     _measureSettings       = measureSettings;
     _nopConfig             = nopConfig;
     _nopHttpClient         = nopHttpClient;
     _proxySettings         = proxySettings;
 }
 public ExternalAuthenticationMethodModelFactory(IAuthenticationPluginManager authenticationPluginManager)
 {
     _authenticationPluginManager = authenticationPluginManager;
 }
예제 #14
0
 public CustomerModelFactory(AddressSettings addressSettings,
                             CaptchaSettings captchaSettings,
                             CatalogSettings catalogSettings,
                             CommonSettings commonSettings,
                             CustomerSettings customerSettings,
                             DateTimeSettings dateTimeSettings,
                             ExternalAuthenticationSettings externalAuthenticationSettings,
                             ForumSettings forumSettings,
                             GdprSettings gdprSettings,
                             IAddressModelFactory addressModelFactory,
                             IAuthenticationPluginManager authenticationPluginManager,
                             ICountryService countryService,
                             ICustomerAttributeParser customerAttributeParser,
                             ICustomerAttributeService customerAttributeService,
                             IDateTimeHelper dateTimeHelper,
                             IDownloadService downloadService,
                             IGdprService gdprService,
                             IGenericAttributeService genericAttributeService,
                             ILocalizationService localizationService,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IOrderService orderService,
                             IPictureService pictureService,
                             IReturnRequestService returnRequestService,
                             IStateProvinceService stateProvinceService,
                             IStoreContext storeContext,
                             IStoreMappingService storeMappingService,
                             IUrlRecordService urlRecordService,
                             IWorkContext workContext,
                             MediaSettings mediaSettings,
                             OrderSettings orderSettings,
                             RewardPointsSettings rewardPointsSettings,
                             SecuritySettings securitySettings,
                             TaxSettings taxSettings,
                             VendorSettings vendorSettings)
 {
     _addressSettings  = addressSettings;
     _captchaSettings  = captchaSettings;
     _catalogSettings  = catalogSettings;
     _commonSettings   = commonSettings;
     _customerSettings = customerSettings;
     _dateTimeSettings = dateTimeSettings;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _forumSettings               = forumSettings;
     _gdprSettings                = gdprSettings;
     _addressModelFactory         = addressModelFactory;
     _authenticationPluginManager = authenticationPluginManager;
     _countryService              = countryService;
     _customerAttributeParser     = customerAttributeParser;
     _customerAttributeService    = customerAttributeService;
     _dateTimeHelper              = dateTimeHelper;
     _downloadService             = downloadService;
     _gdprService                   = gdprService;
     _genericAttributeService       = genericAttributeService;
     _localizationService           = localizationService;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _orderService                  = orderService;
     _pictureService                = pictureService;
     _returnRequestService          = returnRequestService;
     _stateProvinceService          = stateProvinceService;
     _storeContext                  = storeContext;
     _storeMappingService           = storeMappingService;
     _urlRecordService              = urlRecordService;
     _workContext                   = workContext;
     _mediaSettings                 = mediaSettings;
     _orderSettings                 = orderSettings;
     _rewardPointsSettings          = rewardPointsSettings;
     _securitySettings              = securitySettings;
     _taxSettings                   = taxSettings;
     _vendorSettings                = vendorSettings;
 }