当前位置: 首页>>代码示例>>C#>>正文


C# Customers.ExternalAuthenticationSettings类代码示例

本文整理汇总了C#中Nop.Core.Domain.Customers.ExternalAuthenticationSettings的典型用法代码示例。如果您正苦于以下问题:C# ExternalAuthenticationSettings类的具体用法?C# ExternalAuthenticationSettings怎么用?C# ExternalAuthenticationSettings使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ExternalAuthenticationSettings类属于Nop.Core.Domain.Customers命名空间,在下文中一共展示了ExternalAuthenticationSettings类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: PluginController

        public PluginController(IPluginFinder pluginFinder,
            IOfficialFeedManager officialFeedManager,
            ILocalizationService localizationService,
            IWebHelper webHelper,
            IPermissionService permissionService, 
            ILanguageService languageService,
            ISettingService settingService, 
            IStoreService storeService,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings, 
            ExternalAuthenticationSettings externalAuthenticationSettings, 
            WidgetSettings widgetSettings)
		{
            this._pluginFinder = pluginFinder;
            this._officialFeedManager = officialFeedManager;
            this._localizationService = localizationService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._languageService = languageService;
            this._settingService = settingService;
            this._storeService = storeService;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._widgetSettings = widgetSettings;
		}
开发者ID:RobinHoody,项目名称:nopCommerce,代码行数:28,代码来源:PluginController.cs

示例2: ExternalAuthorizer

 public ExternalAuthorizer(IAuthenticationService authenticationService,
     IOpenAuthenticationService openAuthenticationService,
     IGenericAttributeService genericAttributeService,
     ICustomerRegistrationService customerRegistrationService, 
     ICustomerActivityService customerActivityService, 
     ILocalizationService localizationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IShoppingCartService shoppingCartService,
     IWorkflowMessageService workflowMessageService,
     IEventPublisher eventPublisher,
     LocalizationSettings localizationSettings)
 {
     this._authenticationService = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._genericAttributeService = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerActivityService = customerActivityService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._shoppingCartService = shoppingCartService;
     this._workflowMessageService = workflowMessageService;
     this._eventPublisher = eventPublisher;
     this._localizationSettings = localizationSettings;
 }
开发者ID:491134648,项目名称:nopCommerce,代码行数:30,代码来源:ExternalAuthorizer.cs

示例3: ExternalAuthOpenIdController

 public ExternalAuthOpenIdController(IOpenIdProviderAuthorizer openIdProviderAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings)
 {
     this._openIdProviderAuthorizer = openIdProviderAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
 }
开发者ID:nopmcs,项目名称:mycreativestudio,代码行数:8,代码来源:ExternalAuthOpenIdController.cs

示例4: ExternalAuthenticationController

 public ExternalAuthenticationController(IOpenAuthenticationService openAuthenticationService, 
     ExternalAuthenticationSettings externalAuthenticationSettings,
     ISettingService settingService, IPermissionService permissionService)
 {
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._settingService = settingService;
     this._permissionService = permissionService;
 }
开发者ID:btolbert,项目名称:test-commerce,代码行数:9,代码来源:ExternalAuthenticationController.cs

示例5: OpenAuthenticationService

 public OpenAuthenticationService(IRepository<ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
     IPluginFinder pluginFinder,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     ICustomerService customerService)
 {
     this._externalAuthenticationRecordRepository = externalAuthenticationRecordRepository;
     this._pluginFinder = pluginFinder;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._customerService = customerService;
 }
开发者ID:cmcginn,项目名称:StoreFront,代码行数:10,代码来源:OpenAuthenticationService.cs

示例6: FacebookProviderAuthorizer

 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     HttpContextBase httpContext)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._httpContext = httpContext;
 }
开发者ID:btolbert,项目名称:test-commerce,代码行数:12,代码来源:FacebookProviderAuthorizer.cs

示例7: ExternalAuthOpenIdController

 public ExternalAuthOpenIdController(IOpenIdProviderAuthorizer openIdProviderAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IStoreContext storeContext,
     IPluginFinder pluginFinder)
 {
     this._openIdProviderAuthorizer = openIdProviderAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._storeContext = storeContext;
     this._pluginFinder = pluginFinder;
 }
开发者ID:minuzZ,项目名称:zelectroshop,代码行数:12,代码来源:ExternalAuthOpenIdController.cs

示例8: ExternalAuthTwitterController

 public ExternalAuthTwitterController(ISettingService settingService,
     TwitterExternalAuthSettings twitterExternalAuthSettings,
     IOAuthProviderTwitterAuthorizer oAuthProviderTwitterAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings)
 {
     this._settingService = settingService;
     this._twitterExternalAuthSettings = twitterExternalAuthSettings;
     this._oAuthProviderTwitterAuthorizer = oAuthProviderTwitterAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
 }
开发者ID:cmcginn,项目名称:StoreFront,代码行数:12,代码来源:ExternalAuthTwitterController.cs

示例9: ExternalAuthFacebookController

 public ExternalAuthFacebookController(ISettingService settingService,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     IOAuthProviderFacebookAuthorizer oAuthProviderFacebookAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings)
 {
     this._settingService = settingService;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._oAuthProviderFacebookAuthorizer = oAuthProviderFacebookAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
 }
开发者ID:btolbert,项目名称:test-commerce,代码行数:12,代码来源:ExternalAuthFacebookController.cs

示例10: FacebookProviderAuthorizer

 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     HttpContextBase httpContext,
     IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._httpContext = httpContext;
     this._webHelper = webHelper;
 }
开发者ID:powareverb,项目名称:grandnode,代码行数:12,代码来源:FacebookProviderAuthorizer.cs

示例11: IsMethodActive

        public static bool IsMethodActive(this IExternalAuthenticationMethod method,
            ExternalAuthenticationSettings settings)
        {
            if (method == null)
                throw new ArgumentNullException("method");

            if (settings == null)
                throw new ArgumentNullException("settings");

            if (settings.ActiveAuthenticationMethodSystemNames == null)
                return false;
            foreach (string activeMethodSystemName in settings.ActiveAuthenticationMethodSystemNames)
                if (method.PluginDescriptor.SystemName.Equals(activeMethodSystemName, StringComparison.InvariantCultureIgnoreCase))
                    return true;
            return false;
        }
开发者ID:haithemChkel,项目名称:nopCommerce_33,代码行数:16,代码来源:OpenAuthentificationExtensions.cs

示例12: ExternalAuthorizer

 public ExternalAuthorizer(IAuthenticationService authenticationService,
     IOpenAuthenticationService openAuthenticationService,
     ICustomerService customerService, IWorkContext workContext,
     CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IShoppingCartService shoppingCartService,
     IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings)
 {
     this._authenticationService = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._customerService = customerService;
     this._workContext = workContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._shoppingCartService = shoppingCartService;
     this._workflowMessageService = workflowMessageService;
     this._localizationSettings = localizationSettings;
 }
开发者ID:cmcginn,项目名称:StoreFront,代码行数:18,代码来源:ExternalAuthorizer.cs

示例13: ExternalAuthFacebookController

 public ExternalAuthFacebookController(ISettingService settingService,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     IOAuthProviderFacebookAuthorizer oAuthProviderFacebookAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IPermissionService permissionService,
     IStoreContext storeContext,
     IPluginFinder pluginFinder)
 {
     this._settingService = settingService;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._oAuthProviderFacebookAuthorizer = oAuthProviderFacebookAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._permissionService = permissionService;
     this._storeContext = storeContext;
     this._pluginFinder = pluginFinder;
 }
开发者ID:nguyentu1982,项目名称:quancu,代码行数:18,代码来源:ExternalAuthFacebookController.cs

示例14: ExternalAuthFacebookController

 public ExternalAuthFacebookController(ISettingService settingService,
     IOAuthProviderFacebookAuthorizer oAuthProviderFacebookAuthorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IPermissionService permissionService,
     IStoreContext storeContext,
     IStoreService storeService,
     IWorkContext workContext,
     IPluginFinder pluginFinder,
     ILocalizationService localizationService)
 {
     this._settingService = settingService;
     this._oAuthProviderFacebookAuthorizer = oAuthProviderFacebookAuthorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._permissionService = permissionService;
     this._storeContext = storeContext;
     this._storeService = storeService;
     this._workContext = workContext;
     this._pluginFinder = pluginFinder;
     this._localizationService = localizationService;
 }
开发者ID:rajendra1809,项目名称:nopCommerce,代码行数:22,代码来源:ExternalAuthFacebookController.cs

示例15: AccountController

 public AccountController(IAuthenticationService authenticationService,
     IDateTimeHelper dateTimeHelper,
     DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     ICustomerService customerService,
     ICustomerAttributeParser customerAttributeParser,
     ICustomerAttributeService customerAttributeService,
     IGenericAttributeService genericAttributeService,
     ICustomerRegistrationService customerRegistrationService,
     ITaxService taxService,
     RewardPointsSettings rewardPointsSettings,
     CustomerSettings customerSettings,
     AddressSettings addressSettings,
     ForumSettings forumSettings,
     OrderSettings orderSettings,
     IAddressService addressService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     IOrderService orderService,
     IPictureService pictureService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IShoppingCartService shoppingCartService,
     IOpenAuthenticationService openAuthenticationService,
     IDownloadService downloadService,
     IWebHelper webHelper,
     ICustomerActivityService customerActivityService,
     IAddressAttributeParser addressAttributeParser,
     IAddressAttributeService addressAttributeService,
     IAddressAttributeFormatter addressAttributeFormatter,
     MediaSettings mediaSettings,
     IWorkflowMessageService workflowMessageService,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     SecuritySettings securitySettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IMultitenantService vendorService,
     IGroupDealService groupDealService,
     ICategoryService categoryService,
     IVendorAddressService vendorAddressService,
     IProductService productService,
     IStoreService storeService,
     StoreInformationSettings storeInformationSettings)
 {
     this._authenticationService = authenticationService;
     this._dateTimeHelper = dateTimeHelper;
     this._dateTimeSettings = dateTimeSettings;
     this._taxSettings = taxSettings;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._storeMappingService = storeMappingService;
     this._customerService = customerService;
     this._customerAttributeParser = customerAttributeParser;
     this._customerAttributeService = customerAttributeService;
     this._genericAttributeService = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._taxService = taxService;
     this._rewardPointsSettings = rewardPointsSettings;
     this._customerSettings = customerSettings;
     this._addressSettings = addressSettings;
     this._forumSettings = forumSettings;
     this._orderSettings = orderSettings;
     this._addressService = addressService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._orderService = orderService;
     this._pictureService = pictureService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._shoppingCartService = shoppingCartService;
     this._openAuthenticationService = openAuthenticationService;
     this._downloadService = downloadService;
     this._webHelper = webHelper;
     this._customerActivityService = customerActivityService;
     this._addressAttributeParser = addressAttributeParser;
     this._addressAttributeService = addressAttributeService;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._mediaSettings = mediaSettings;
     this._workflowMessageService = workflowMessageService;
     this._localizationSettings = localizationSettings;
     this._captchaSettings = captchaSettings;
     this._securitySettings = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._categories = new System.Collections.Generic.List<DTOs.Category>();
     this._vendorService = vendorService;
     this._groupDealService = groupDealService;
     this._categoryService = categoryService;
     this._vendorAddressService = vendorAddressService;
     this._productService = productService;
     this._storeService = storeService;
     this._storeInformationSettings = storeInformationSettings;
 }
开发者ID:mhsohail,项目名称:Livetameion_3.7,代码行数:95,代码来源:AccountController.cs


注:本文中的Nop.Core.Domain.Customers.ExternalAuthenticationSettings类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。