本文整理汇总了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;
}
示例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;
}
示例3: ExternalAuthOpenIdController
public ExternalAuthOpenIdController(IOpenIdProviderAuthorizer openIdProviderAuthorizer,
IOpenAuthenticationService openAuthenticationService,
ExternalAuthenticationSettings externalAuthenticationSettings)
{
this._openIdProviderAuthorizer = openIdProviderAuthorizer;
this._openAuthenticationService = openAuthenticationService;
this._externalAuthenticationSettings = externalAuthenticationSettings;
}
示例4: ExternalAuthenticationController
public ExternalAuthenticationController(IOpenAuthenticationService openAuthenticationService,
ExternalAuthenticationSettings externalAuthenticationSettings,
ISettingService settingService, IPermissionService permissionService)
{
this._openAuthenticationService = openAuthenticationService;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._settingService = settingService;
this._permissionService = permissionService;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}