public ResourceOwnerPasswordValidator( UserManager <User> userManager, IDeviceRepository deviceRepository, IDeviceService deviceService, IUserService userService, IEventService eventService, IOrganizationDuoWebTokenProvider organizationDuoWebTokenProvider, IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, IApplicationCacheService applicationCacheService, IMailService mailService, ILogger <ResourceOwnerPasswordValidator> logger, ICurrentContext currentContext, GlobalSettings globalSettings, IPolicyRepository policyRepository, ICaptchaValidationService captchaValidationService) : base(userManager, deviceRepository, deviceService, userService, eventService, organizationDuoWebTokenProvider, organizationRepository, organizationUserRepository, applicationCacheService, mailService, logger, currentContext, globalSettings, policyRepository) { _userManager = userManager; _userService = userService; _currentContext = currentContext; _captchaValidationService = captchaValidationService; }
public BaseRequestValidator( UserManager <User> userManager, IDeviceRepository deviceRepository, IDeviceService deviceService, IUserService userService, IEventService eventService, IOrganizationDuoWebTokenProvider organizationDuoWebTokenProvider, IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, IApplicationCacheService applicationCacheService, IMailService mailService, ILogger <ResourceOwnerPasswordValidator> logger, CurrentContext currentContext, GlobalSettings globalSettings, IPolicyRepository policyRepository) { _userManager = userManager; _deviceRepository = deviceRepository; _deviceService = deviceService; _userService = userService; _eventService = eventService; _organizationDuoWebTokenProvider = organizationDuoWebTokenProvider; _organizationRepository = organizationRepository; _organizationUserRepository = organizationUserRepository; _applicationCacheService = applicationCacheService; _mailService = mailService; _logger = logger; _currentContext = currentContext; _globalSettings = globalSettings; _policyRepository = policyRepository; }
public UserServiceTests() { _userRepository = Substitute.For <IUserRepository>(); _cipherRepository = Substitute.For <ICipherRepository>(); _organizationUserRepository = Substitute.For <IOrganizationUserRepository>(); _organizationRepository = Substitute.For <IOrganizationRepository>(); _mailService = Substitute.For <IMailService>(); _pushService = Substitute.For <IPushNotificationService>(); _userStore = Substitute.For <IUserStore <User> >(); _optionsAccessor = Substitute.For <IOptions <IdentityOptions> >(); _passwordHasher = Substitute.For <IPasswordHasher <User> >(); _userValidators = new List <IUserValidator <User> >(); _passwordValidators = new List <IPasswordValidator <User> >(); _keyNormalizer = Substitute.For <ILookupNormalizer>(); _errors = new IdentityErrorDescriber(); _services = Substitute.For <IServiceProvider>(); _logger = Substitute.For <ILogger <UserManager <User> > >(); _licenseService = Substitute.For <ILicensingService>(); _eventService = Substitute.For <IEventService>(); _applicationCacheService = Substitute.For <IApplicationCacheService>(); _dataProtectionProvider = Substitute.For <IDataProtectionProvider>(); _paymentService = Substitute.For <IPaymentService>(); _policyRepository = Substitute.For <IPolicyRepository>(); _referenceEventService = Substitute.For <IReferenceEventService>(); _fido2 = Substitute.For <IFido2>(); _currentContext = new CurrentContext(null); _globalSettings = new GlobalSettings(); _organizationService = Substitute.For <IOrganizationService>(); _providerUserRepository = Substitute.For <IProviderUserRepository>(); _sut = new UserService( _userRepository, _cipherRepository, _organizationUserRepository, _organizationRepository, _mailService, _pushService, _userStore, _optionsAccessor, _passwordHasher, _userValidators, _passwordValidators, _keyNormalizer, _errors, _services, _logger, _licenseService, _eventService, _applicationCacheService, _dataProtectionProvider, _paymentService, _policyRepository, _referenceEventService, _fido2, _currentContext, _globalSettings, _organizationService, _providerUserRepository ); }
public UserService( IUserRepository userRepository, ICipherRepository cipherRepository, IOrganizationUserRepository organizationUserRepository, IOrganizationRepository organizationRepository, IU2fRepository u2fRepository, IMailService mailService, IPushNotificationService pushService, IUserStore <User> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <User> passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <User> > logger, ILicensingService licenseService, IEventService eventService, IApplicationCacheService applicationCacheService, IDataProtectionProvider dataProtectionProvider, IPaymentService paymentService, IPolicyRepository policyRepository, IReferenceEventService referenceEventService, CurrentContext currentContext, GlobalSettings globalSettings) : base( store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { _userRepository = userRepository; _cipherRepository = cipherRepository; _organizationUserRepository = organizationUserRepository; _organizationRepository = organizationRepository; _u2fRepository = u2fRepository; _mailService = mailService; _pushService = pushService; _identityOptions = optionsAccessor?.Value ?? new IdentityOptions(); _identityErrorDescriber = errors; _passwordHasher = passwordHasher; _passwordValidators = passwordValidators; _licenseService = licenseService; _eventService = eventService; _applicationCacheService = applicationCacheService; _paymentService = paymentService; _policyRepository = policyRepository; _organizationServiceDataProtector = dataProtectionProvider.CreateProtector( "OrganizationServiceDataProtector"); _referenceEventService = referenceEventService; _currentContext = currentContext; _globalSettings = globalSettings; }
public ProvidersController(IProviderRepository providerRepository, IProviderUserRepository providerUserRepository, IProviderService providerService, GlobalSettings globalSettings, IApplicationCacheService applicationCacheService) { _providerRepository = providerRepository; _providerUserRepository = providerUserRepository; _providerService = providerService; _globalSettings = globalSettings; _applicationCacheService = applicationCacheService; }
public UrlRewritingService(ICatalogUrlResolvingService catalogUrlResolvingService, ICMSApplication cmsApplication, IPaymentProviderService paymentProviderService, IHttpContextWrapper httpContextWrapper, IUwebshopConfiguration configuration, IStoreFromUrlDeterminationService storeFromUrlDeterminationService, IStoreService storeService, IApplicationCacheService applicationCacheService) { _catalogUrlResolvingService = catalogUrlResolvingService; _cmsApplication = cmsApplication; _paymentProviderService = paymentProviderService; _httpContextWrapper = httpContextWrapper; _configuration = configuration; _storeFromUrlDeterminationService = storeFromUrlDeterminationService; _storeService = storeService; _applicationCacheService = applicationCacheService; }
public EventService( IEventWriteService eventWriteService, IOrganizationUserRepository organizationUserRepository, IApplicationCacheService applicationCacheService, CurrentContext currentContext, GlobalSettings globalSettings) { _eventWriteService = eventWriteService; _organizationUserRepository = organizationUserRepository; _applicationCacheService = applicationCacheService; _currentContext = currentContext; _globalSettings = globalSettings; }
public OrganizationsController( IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, IPaymentService paymentService, IApplicationCacheService applicationCacheService, GlobalSettings globalSettings) { _organizationRepository = organizationRepository; _organizationUserRepository = organizationUserRepository; _paymentService = paymentService; _applicationCacheService = applicationCacheService; _globalSettings = globalSettings; }
public ApplicationCacheHostedService( IApplicationCacheService applicationCacheService, IOrganizationRepository organizationRepository, ILogger <ApplicationCacheHostedService> logger, GlobalSettings globalSettings) { _topicName = globalSettings.ServiceBus.ApplicationCacheTopicName; _subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); _applicationCacheService = applicationCacheService as InMemoryServiceBusApplicationCacheService; _organizationRepository = organizationRepository; _logger = logger; _managementClient = new ManagementClient(globalSettings.ServiceBus.ConnectionString); _subscriptionClient = new SubscriptionClient(globalSettings.ServiceBus.ConnectionString, _topicName, _subName); }
public EventServiceTests() { _eventWriteService = Substitute.For <IEventWriteService>(); _organizationUserRepository = Substitute.For <IOrganizationUserRepository>(); _applicationCacheService = Substitute.For <IApplicationCacheService>(); _currentContext = new CurrentContext(); _globalSettings = new GlobalSettings(); _sut = new EventService( _eventWriteService, _organizationUserRepository, _applicationCacheService, _currentContext, _globalSettings ); }
public CustomTokenRequestValidator( UserManager <User> userManager, IDeviceRepository deviceRepository, IDeviceService deviceService, IUserService userService, IEventService eventService, IOrganizationDuoWebTokenProvider organizationDuoWebTokenProvider, IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, IApplicationCacheService applicationCacheService, IMailService mailService, ILogger <ResourceOwnerPasswordValidator> logger, CurrentContext currentContext, GlobalSettings globalSettings) : base(userManager, deviceRepository, deviceService, userService, eventService, organizationDuoWebTokenProvider, organizationRepository, organizationUserRepository, applicationCacheService, mailService, logger, currentContext, globalSettings) { _userManager = userManager; }
public OrganizationsController( IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, ICipherRepository cipherRepository, ICollectionRepository collectionRepository, IGroupRepository groupRepository, IPolicyRepository policyRepository, IPaymentService paymentService, IApplicationCacheService applicationCacheService, GlobalSettings globalSettings) { _organizationRepository = organizationRepository; _organizationUserRepository = organizationUserRepository; _cipherRepository = cipherRepository; _collectionRepository = collectionRepository; _groupRepository = groupRepository; _policyRepository = policyRepository; _paymentService = paymentService; _applicationCacheService = applicationCacheService; _globalSettings = globalSettings; }
public UmbracoApplicationCacheManagingService(IProductService productService, IProductVariantService productVariantService, IProductVariantGroupService productVariantGroupService, ICategoryService categoryService, IOrderDiscountService orderDiscountService, IProductDiscountService productDiscountService, IProductRepository productRepository, ICategoryRepository categoryRepository, IProductVariantGroupRepository productVariantGroupRepository, IProductVariantRepository productVariantRepository, IStoreService storeService, IApplicationCacheService applicationCacheService) { _productService = productService; _productVariantService = productVariantService; _productVariantGroupService = productVariantGroupService; _categoryService = categoryService; _orderDiscountService = orderDiscountService; _productDiscountService = productDiscountService; _productRepository = productRepository; _categoryRepository = categoryRepository; _productVariantGroupRepository = productVariantGroupRepository; _productVariantRepository = productVariantRepository; _storeService = storeService; _applicationCacheService = applicationCacheService; _manageUmbracoXMLCacheWhenLoadBalanced = System.Web.Configuration.WebConfigurationManager. AppSettings["uWebshopLoadBalancedNoUmbraco"] != "true"; }
public ResourceOwnerPasswordValidator( UserManager <User> userManager, IDeviceRepository deviceRepository, IDeviceService deviceService, IUserService userService, IEventService eventService, IOrganizationDuoWebTokenProvider organizationDuoWebTokenProvider, IOrganizationRepository organizationRepository, IOrganizationUserRepository organizationUserRepository, IApplicationCacheService applicationCacheService, CurrentContext currentContext) { _userManager = userManager; _deviceRepository = deviceRepository; _deviceService = deviceService; _userService = userService; _eventService = eventService; _organizationDuoWebTokenProvider = organizationDuoWebTokenProvider; _organizationRepository = organizationRepository; _organizationUserRepository = organizationUserRepository; _applicationCacheService = applicationCacheService; _currentContext = currentContext; }
public FontDialogSettingsCacheRepository(IApplicationCacheService applicationCacheService) : base(applicationCacheService) { }
public FindNextAndReplaceConditionsCacheRepository(IApplicationCacheService applicationCacheService) : base(applicationCacheService) { }
public DocInfoCacheRepository(IApplicationCacheService applicationCacheService) : base(applicationCacheService) { }
protected BaseCacheRepository(IApplicationCacheService applicationCacheService) { _applicationCacheService = applicationCacheService; }