public AppStoresWapUIController(IAppStoresWapUISerivces appStoresWapUISerivces, ISessionRepository sessionRepository, ICookieService cookieService, IAppStoreService appStoreService) { AppStoresWapUISerivces = appStoresWapUISerivces; SessionRepository = sessionRepository; CookieService = cookieService; _appStoreService = appStoreService; }
public CompaniesService(IMapper mapper, IEmailService emailService, IUsersService usersService, ICookieService cookieService) { _usersService = usersService; _mapper = mapper; _emailService = emailService; _cookieService = cookieService; }
public AccountController( grad_dbContext context, ICookieService cookieService) { _context = context; _cookieService = cookieService; }
public TokenService( IRefreshSessionRepository refreshSessionRepository, ICookieService authorizationCookieManager) { _refreshSessionRepository = refreshSessionRepository; _authorizationCookieManager = authorizationCookieManager; }
public BaseMvcController() { repository = new MovieRepository(); userRepository = new UserRepository(); cookieService = new CookieService(); userProfileService = new UserProfileService(); }
public CurrentUserCommandHandler(IJwtGenerator jwtGenerator, IAppDbContext context, ICookieService cookieService) { _jwtGenerator = jwtGenerator; _context = context; _cookieService = cookieService; }
public StartFlowCommand(ICacheItemRepository cacheItemRepository, IJwtService jwtService, ICookieService cookieService) { _cacheItemRepository = cacheItemRepository; _jwtService = jwtService; _cookieService = cookieService; }
/// <summary> /// Initializes a new instance of the <see cref="AppointmentsManager" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="appointmentsProvider">The appointments provider.</param> /// <param name="insertappointmentTranslator">The insertappointment translator.</param> /// <param name="databaseProvider">The database provider.</param> /// <param name="iCalendarService">The i calendar service.</param> /// <param name="eventPublisher">The event publisher.</param> /// <param name="cookieService">The cookie service.</param> /// <param name="appointmentTranslator">The appointment translator.</param> /// <param name="encryptionService">The encryption service.</param> /// <param name="mailProvider">The email provider.</param> /// <param name="appointmentsBootGridTranslator">The appointments boot grid translator.</param> /// <param name="customerProvider">The customer provider.</param> public AppointmentsManager( ILoggingService loggingService, IAppointmentsProvider appointmentsProvider, IInsertAppointmentTranslator insertappointmentTranslator, IDatabaseProvider databaseProvider, IICalendarService iCalendarService, IEventPublisher eventPublisher, ICookieService cookieService, IAppointmentTranslator appointmentTranslator, IEncryptionService encryptionService, IMailProvider mailProvider, IAppointmentsBootGridTranslator appointmentsBootGridTranslator, ICustomerProvider customerProvider) { this.loggingService = loggingService; this.appointmentsProvider = appointmentsProvider; this.insertAppointmentTranslator = insertappointmentTranslator; this.databaseProvider = databaseProvider; this.iCalendarService = iCalendarService; this.eventPublisher = eventPublisher; this.cookieService = cookieService; this.appointmentTranslator = appointmentTranslator; this.encryptionService = encryptionService; this.mailProvider = mailProvider; this.appointmentsBootGridTranslator = appointmentsBootGridTranslator; this.customerProvider = customerProvider; }
// DI Container enabled // public ConnectionHub() : this(UserConnectionManager.Instance, GameManager.Instance, new CookieService()) { } public ConnectionHub(/*UserConnectionManager connectionManager, GameManager gameManager, ICookieService cookieService*/ ILifetimeScope scope) { _connectionManager = scope.Resolve <UserConnectionManager>(); // connectionManager; _gameManager = scope.Resolve <GameManager>(); //gameManager; _cookieService = scope.Resolve <ICookieService>(); //cookieService; }
public UpgradeToFido2TransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand, IUrlProvider urlProvider, ICookieService cookieService, Fido2UpgradeConnectionCommand fido2UpgradeConnectionCommand) : base(jwtComposer, stopFlowCommand, urlProvider, cookieService) { _fido2UpgradeConnectionCommand = fido2UpgradeConnectionCommand; }
public BrandApplicationClassesService(IMapper mapper, IUsersService usersService, ICookieService cookieService, ICompaniesService companiesService) { _usersService = usersService; _mapper = mapper; _cookieService = cookieService; _companiesService = companiesService; }
public AuthorizedUserController(IUsersService usersService, IDefaultValuesService defaultValuesService, ICookieService cookieService, IAuthorizedUserService authorizedUserService) { _usersService = usersService; _defaultValuesService = defaultValuesService; _cookieService = cookieService; _authorizedUserService = authorizedUserService; }
public RecoveryTransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand, IUrlProvider urlProvider, SaveRecoveredAccountConnectionCommand saveRecoveredAccountConnectionCommand, ICookieService cookieService) : base(jwtComposer, stopFlowCommand, urlProvider) { _saveRecoveredAccountConnectionCommand = saveRecoveredAccountConnectionCommand; _cookieService = cookieService; }
public AccountController(ICookieService cookieService, ApplicationUserManager userManager, ApplicationSignInManager signInManager, ApplicationRoleManager roleManager) { _cookieService = cookieService; UserManager = userManager; SignInManager = signInManager; _roleManager = roleManager; }
public LinkBaseTransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand, IUrlProvider urlProvider, LinkAccountCommand linkAccountCommand, ICookieService cookieService) : base( jwtComposer, stopFlowCommand, urlProvider) { _linkAccountCommand = linkAccountCommand; _cookieService = cookieService; }
public DefaultIdentityService(INetWorkServices netWorkServices, ICookieService cookieService) { this._netWorkServices = netWorkServices; this._cookieService = cookieService; var tmp = cookieService.ReadCookie(); CurrentUser = tmp.user; }
public ApplicationPricesService(IMapper mapper, IEmailService emailService, IUsersService usersService, ICookieService cookieService, IUploadImageService uploadImageService) { _usersService = usersService; _mapper = mapper; _emailService = emailService; _cookieService = cookieService; _uploadImageService = uploadImageService; }
public DevCenterController(ILogger <DevCenterController> logger, DevCenterContext dbContext) { _logger = logger; _dbContext = dbContext; _cookieService = new CookieService(); _storeService = new StoreService(_cookieService); }
public AdminController(IAdminService adminService, IRoleService roleService, ICookieService cookieService) { this.adminService = adminService ?? throw new ArgumentNullException(nameof(adminService)); this.roleService = roleService ?? throw new ArgumentNullException(nameof(roleService)); this.cookieService = cookieService ?? throw new ArgumentNullException(nameof(cookieService)); }
public RegisterController(ICookieService cookieService, IEmailService emailService, IUsersService usersService, ISocialLoginService socialLoginService, IDefaultValuesService defaultValuesService) { _usersService = usersService; _defaultValuesService = defaultValuesService; _cookieService = cookieService; _socialLoginService = socialLoginService; _emailService = emailService; }
public CookieController(ILogger <CookieController> logger, ICookieService cookieService, ITokenService tokenService, Notify notificationService, IMapper mapper) { _logger = logger; _cookieService = cookieService; _tokenService = tokenService; _notificationService = notificationService; _mapper = mapper; }
public ProductsController(IProductService productService, ICookieService cookieService, IHttpContextAccessor httpContextAccessor) { _productService = productService; _cookieService = cookieService; _httpContextAccessor = httpContextAccessor; }
public AbpBlazorClientHttpMessageHandler( IJSRuntime jsRuntime, ICookieService cookieService, NavigationManager navigationManager) { _jsRuntime = jsRuntime; _cookieService = cookieService; _navigationManager = navigationManager; }
public QuestPostService( IRedditCloneUnitOfWork redditCloneUnitOfWork, ICookieService cookieService, IPostMapper postMapper) { this.redditCloneUnitOfWork = redditCloneUnitOfWork; this.cookieService = cookieService; this.postMapper = postMapper; }
public UpgradeToPasscodeTransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand, IUrlProvider urlProvider, SavePartialConnectionCommand savePartialConnectionCommand, IJwtService jwtService, ICookieService cookieService, bool validateSecurityTokens = true) : base(jwtComposer, stopFlowCommand, urlProvider, validateSecurityTokens) { _savePartialConnectionCommand = savePartialConnectionCommand; _jwtService = jwtService; _cookieService = cookieService; }
public LoginUserQueryHandler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJwtGenerator jwtGenerator, IAppDbContext context, ICookieService cookieService) { _userManager = userManager; _signInManager = signInManager; _jwtGenerator = jwtGenerator; _context = context; _cookieService = cookieService; }
public LoginController(ICookieService cookieService, IEmailService emailService, IUsersService usersService, ISocialLoginService socialLoginService, IDefaultValuesService defaultValuesService, IMapper mapper) { _usersService = usersService; _defaultValuesService = defaultValuesService; _cookieService = cookieService; _socialLoginService = socialLoginService; _emailService = emailService; _mapper = mapper; }
public AccountController(ICookieService cookieSvc, IUserAccessDataControlService userAccessDataService, IOTARedisService redisService, IAuthCodeValidateService authCodeValidateService, IMembershipService membershipService, IFormsAuthenticationService formsAuthenticationService) { cookieService = cookieSvc; _userAccessDataControlService = userAccessDataService; _redisService = redisService; _authCodeValidateService = authCodeValidateService; _membershipService = membershipService; _formsAuthenticationService = formsAuthenticationService; }
public AuthorizeController(IAdministratorService administratorService, ICookieService cookieService, IClientService clientService, IUserService userService, IAccountService accountService) { this.administratorService = administratorService ?? throw new ArgumentNullException(nameof(administratorService)); this.cookieService = cookieService ?? throw new ArgumentNullException(nameof(cookieService)); this.clientService = clientService ?? throw new ArgumentNullException(nameof(clientService)); this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); this.accountService = accountService ?? throw new ArgumentNullException(nameof(accountService)); }
public AppStoreUIServiceBase(IAppStoreUIService appStoreUIService, IRedisService redisService, IAppStoreService appStoreService, ISessionRepository sessionRepository, ICookieService cookieService, IFullTextSearchService fullTextSearchService) : base(redisService) { AppStoreUIService = appStoreUIService; AppStoreService = appStoreService; SessionRepository = sessionRepository; CookieService = cookieService; FullTextSearchService = fullTextSearchService; }
public AccessController( IHttpClientService httpClientService, ICommonService commonService, ICookieService cookieService) { _httpClientService = httpClientService; _commonService = commonService; _cookieService = cookieService; }
public HomeController(IUserService userService, IRoleService roleService, ICookieService cookieService, IBannerService bannerService) { this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); this.roleService = roleService ?? throw new ArgumentNullException(nameof(roleService)); this.cookieService = cookieService ?? throw new ArgumentNullException(nameof(cookieService)); this.bannerService = bannerService ?? throw new ArgumentNullException(nameof(bannerService)); }
public WsFederationController(ICoreSettings settings, IUserService users, ILogger logger, SignInValidator validator, SignInResponseGenerator signInResponseGenerator, MetadataResponseGenerator metadataResponseGenerator, ICookieService cookies) { _settings = settings; _logger = logger; _validator = validator; _signInResponseGenerator = signInResponseGenerator; _metadataResponseGenerator = metadataResponseGenerator; _cookies = cookies; }
public WsFederationController(CoreSettings settings, IUserService users, ILogger logger, SignInValidator validator, SignInResponseGenerator signInResponseGenerator, MetadataResponseGenerator metadataResponseGenerator, ICookieService cookies) { _settings = settings; _logger = logger; _validator = validator; _signInResponseGenerator = signInResponseGenerator; _metadataResponseGenerator = metadataResponseGenerator; _cookies = cookies; }
/// <summary> /// Replace service for reading/writing cookies. Used for testing, where HttpContext is not available /// </summary> /// <param name="service">Implementation of ICookieService interface</param> /// <returns>return this, just so it can be used fluently:)</returns> public Consent SetCookieService(ICookieService service) { _cookieService = service; return this; }
private void StopProcess(bool exiting) { if (exiting && _process != null && !_process.HasExited) { _service.ExitProcess(); _service = null; } UnhookProcessEvent(); }
private void StartProcess() { // If we already have a reference to the child if (_process != null && !_process.HasExited) return; // Unhook old process UnhookProcessEvent(); // Get exe string loc = typeof (LowRights.Program).Assembly.Location; string id = Assembly.GetEntryAssembly().EscapedCodeBase; //string args = string.Format("{0} {1} {2}", id, timeOutSec, "DEBUG"); string args = string.Format(CultureInfo.InvariantCulture, "{0} {1}", id, TimeOutSeconds); // To use the regular way of starting a process use this insead of StartLowIntegrityProcess //ProcessStartInfo info = new ProcessStartInfo(loc, id + " DEBUG"); //ProcessStartInfo info = new ProcessStartInfo(loc, id); //info.UseShellExecute = false; //_process = Process.Start(info); _process = LowIntegrityProcess.Start(loc, args); if (!_process.HasExited) { _process.EnableRaisingEvents = true; _process.Exited += ChildExited; } else { _process = null; } string uri = string.Format(Program.Address, id) + "/CookieService"; NetNamedPipeBinding binding = new NetNamedPipeBinding(); ChannelFactory<ICookieService> factory = new ChannelFactory<ICookieService>(binding, uri); _service = factory.CreateChannel(); // Allow the other side to setup the pipe -- ideally this should be synchronized instead of // a blanket sleep Thread.Sleep(1000); }
public AppStoresWebUIService(IAppStoreUIService appStoreUIService, IRedisService redisService, IAppStoreService appStoreService, ISessionRepository sessionRepository, ICookieService cookieService, IFullTextSearchService fullTextSearchService, IAppStoresWapUISerivces appStoresWapUISerivces) : base(appStoreUIService, redisService, appStoreService, sessionRepository, cookieService, fullTextSearchService) { AppStoresWapUIServices = appStoresWapUISerivces; }
public FilterService(IUserService userService, ICookieService cookieService) { _userService = userService; _cookieService = cookieService; }
public AppStoresWapUIServiceTest() { _redisServiceMock = new Mock<IRedisService>(); redisService = _redisServiceMock.Object; _redisServiceMock2 = new Mock<IRedisService2>(); redisService2 = _redisServiceMock2.Object; _redisClientMock = new Mock<IRedisClient>(); redisClient = _redisClientMock.Object; _appStoreUIServiceMock = new Mock<IAppStoreUIService>(); appStoreUIService = _appStoreUIServiceMock.Object; _logServiceMock = new Mock<ILogger>(); logService = _logServiceMock.Object; _fileServiceMock = new Mock<IFileService>(); fileService = _fileServiceMock.Object; _fullTextSearchServiceMock = new Mock<IFullTextSearchService>(); fullTextSearchService = _fullTextSearchServiceMock.Object; _requestRepoMock = new Mock<IRequestRepository>(); requestRepo = _requestRepoMock.Object; appStoreUIRealService = new AppStoreUIService(fs, redisReal); sesionRepository = new Mock<ISessionRepository>(); sesionRepositoryReal = new SessionRepository(); cookieServiceReal =new CookieService(); cookieService = new Mock<ICookieService>(); appStoreServiceReal = new AppStoreService(fs, redisReal, appStoreUIRealService, new FullTextSearchService(redisReal),new IMEICacheService(redisReal)); appStoreServiceReal.RedisService2 = new RedisService2(); appStoreService = new AppStoreService(fs, redisService, appStoreUIRealService, new FullTextSearchService(redisService), new IMEICacheService(redisReal)); appStoreService.RedisService2 = redisService2; appStoresWapUIServiceReal = new AppStoresWapUISerivces(appStoreUIRealService, redisReal, appStoreServiceReal, sesionRepositoryReal, cookieServiceReal, new FullTextSearchService(redisReal)); appStoresWapUIServiceReal.RedisService2 = new RedisService2(); appStoresWapUIService = new AppStoresWapUISerivces(appStoreUIService, redisService, appStoreService, sesionRepository.Object, cookieService.Object, fullTextSearchService); appStoresWapUIService.RedisService2 = redisService2; Bootstrapper.Start(); redisReal.FlushAll(); }
public SnackController(ICookieService svc) { _svc = svc; }
public UserProfileFilterAttribute() { this.userProfileService = new UserProfileService(); this.cookieService = new CookieService(); }