public ExternalAuthorizer(IAuthenticationService authenticationService, IOpenAuthenticationService openAuthenticationService, IGenericAttributeService genericAttributeService, IUserRegistrationService UserRegistrationService, IUserActivityService UserActivityService, ILocalizationService localizationService, IWorkContext workContext, IStoreContext storeContext, UserSettings UserSettings, ExternalAuthenticationSettings externalAuthenticationSettings, //IShoppingCartService shoppingCartService, IWorkflowMessageService workflowMessageService, IEventPublisher eventPublisher, LocalizationSettings localizationSettings) { this._authenticationService = authenticationService; this._openAuthenticationService = openAuthenticationService; this._genericAttributeService = genericAttributeService; this._UserRegistrationService = UserRegistrationService; this._UserActivityService = UserActivityService; this._localizationService = localizationService; this._workContext = workContext; this._storeContext = storeContext; this._UserSettings = UserSettings; this._externalAuthenticationSettings = externalAuthenticationSettings; //this._shoppingCartService = shoppingCartService; this._workflowMessageService = workflowMessageService; this._eventPublisher = eventPublisher; this._localizationSettings = localizationSettings; }
public UserController(UserSettings userSettings, IAuthenticationService authenticationService, IUserModelFactory userModelFactory, IUserRegistrationService userRegistrationService, IUserService userService, IEventPublisher eventPublisher, IWebHelper webHelper, IWorkContext workContext, IWorkflowMessageService workflowMessageService, IGenericAttributeService genericAttributeService, IResearcherService researcherService, IAuthenticationService cookieAuthenticationService, IPermissionService permissionService, IScheduleTaskService scheduleTaskService) { this._userSettings = userSettings; this._authenticationService = authenticationService; this._userModelFactory = userModelFactory; this._userRegistrationService = userRegistrationService; this._userService = userService; this._eventPublisher = eventPublisher; this._webHelper = webHelper; this._workContext = workContext; this._workflowMessageService = workflowMessageService; this._genericAttributeService = genericAttributeService; this._researcherService = researcherService; this._cookieAuthenticationService = cookieAuthenticationService; this._permissionService = permissionService; this._scheduleTaskService = scheduleTaskService; }
public UpdateUserForm(IAdminService <UserDto> adminService, IUserRegistrationService userRegistrationService, UserDto user) { _user = user; _adminService = adminService; _userRegistrationService = userRegistrationService; InitializeComponent(); }
public UserController(IRepository <User> userRepository, IRepository <SecurityGroup> securityGroupRepository, IAuthenticationService authenticationService, IUserService userService, IUserRegistrationService userRegistrationService, IUserActivityService userActivityService, ILanguageService languageService, ILocalizationService localizationService, UserSettings userSettings, IWorkContext workContext, HttpContextBase httpContext, IDbContext dbContext) { this._userRepository = userRepository; this._securityGroupRepository = securityGroupRepository; this._authenticationService = authenticationService; this._userService = userService; this._userRegistrationService = userRegistrationService; this._userActivityService = userActivityService; this._languageService = languageService; this._localizationService = localizationService; this._userSettings = userSettings; this._workContext = workContext; this._httpContext = httpContext; this._dbContext = dbContext; }
public UserPermissionsView() { InitializeComponent(); _userRegistrationService = new UserRegistrationService(); _permissionsManger = new UserPermissionsViewManger(); OnViewLoadedAsyncExecute(); }
public UserController(AddressSettings addressSettings, CaptchaSettings captchaSettings, UserSettings userSettings, DateTimeSettings dateTimeSettings, IDownloadService downloadService, IAddressAttributeParser addressAttributeParser, IAddressModelFactory addressModelFactory, IAddressService addressService, IAuthenticationService authenticationService, ICountryService countryService, IUserActivityService userActivityService, IUserAttributeParser userAttributeParser, IUserAttributeService userAttributeService, IUserModelFactory userModelFactory, IUserRegistrationService userRegistrationService, IUserService userService, IEventPublisher eventPublisher, IExportManager exportManager, IExternalAuthenticationService externalAuthenticationService, IGenericAttributeService genericAttributeService, ILocalizationService localizationService, INewsLetterSubscriptionService newsLetterSubscriptionService, IPictureService pictureService, IWebHelper webHelper, IWorkContext workContext, IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings, MediaSettings mediaSettings, SiteInformationSettings siteInformationSettings) { this._addressSettings = addressSettings; this._captchaSettings = captchaSettings; this._userSettings = userSettings; this._dateTimeSettings = dateTimeSettings; this._downloadService = downloadService; this._addressAttributeParser = addressAttributeParser; this._addressModelFactory = addressModelFactory; this._addressService = addressService; this._authenticationService = authenticationService; this._countryService = countryService; this._userActivityService = userActivityService; this._userAttributeParser = userAttributeParser; this._userAttributeService = userAttributeService; this._userModelFactory = userModelFactory; this._userRegistrationService = userRegistrationService; this._userService = userService; this._eventPublisher = eventPublisher; this._exportManager = exportManager; this._externalAuthenticationService = externalAuthenticationService; this._genericAttributeService = genericAttributeService; this._localizationService = localizationService; this._newsLetterSubscriptionService = newsLetterSubscriptionService; this._pictureService = pictureService; this._webHelper = webHelper; this._workContext = workContext; this._workflowMessageService = workflowMessageService; this._localizationSettings = localizationSettings; this._mediaSettings = mediaSettings; this._siteInformationSettings = siteInformationSettings; }
public LoginForm(IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService) { _authenticationService = authenticationService; _userRegistrationService = userRegistrationService; _registrationForm = new RegistrationForm(_userRegistrationService); InitializeComponent(); }
public UserController( UserSettings userSettings, DateTimeSettings dateTimeSettings, IUserService userService, IUserRegistrationService userRegistrationService, IUserModelFactory userModelFactory, IGenericAttributeService genericAttributeService, IPermissionService permissionService, INotificationService notificationService, IUserActivityService userActivityService, IStoreService storeService, IWorkContext workContext) { _userSettings = userSettings; _dateTimeSettings = dateTimeSettings; _userService = userService; _userRegistrationService = userRegistrationService; _userModelFactory = userModelFactory; _genericAttributeService = genericAttributeService; _permissionService = permissionService; _notificationService = notificationService; _userActivityService = userActivityService; _storeService = storeService; _workContext = workContext; }
public AccountController(UserManager <User> userManager, TempService tempService, SignInManager <User> signInManager, IUserRegistrationService userRegistrationService) { _userManager = userManager; _signInManager = signInManager; _tempService = tempService; _userRegistrationService = userRegistrationService; }
public ExternalAuthenticationService(UserSettings userSettings, ExternalAuthenticationSettings externalAuthenticationSettings, IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService, IUserService userService, IEventPublisher eventPublisher, IGenericAttributeService genericAttributeService, ILocalizationService localizationService, IPluginFinder pluginFinder, IRepository <ExternalAuthenticationRecord> externalAuthenticationRecordRepository, IWorkContext workContext, IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings) { this._userSettings = userSettings; this._externalAuthenticationSettings = externalAuthenticationSettings; this._authenticationService = authenticationService; this._userRegistrationService = userRegistrationService; this._userService = userService; this._eventPublisher = eventPublisher; this._genericAttributeService = genericAttributeService; this._localizationService = localizationService; this._pluginFinder = pluginFinder; this._externalAuthenticationRecordRepository = externalAuthenticationRecordRepository; this._workContext = workContext; this._workflowMessageService = workflowMessageService; this._localizationSettings = localizationSettings; }
public AccountController( UserSettings userSettings, DateTimeSettings dateTimeSettings, MediaSettings mediaSettings, IAuthenticationService authenticationService, IUserAccountModelFactory userAccountModelFactory, IUserRegistrationService userRegistrationService, IUserService userService, IUserActivityService userActivityService, IGenericAttributeService genericAttributeService, INotificationService notificationService, IWorkContext workContext, ITenantContext tenantContext, IEmailSender emailSender, IPictureService pictureService) { _userSettings = userSettings; _dateTimeSettings = dateTimeSettings; _mediaSettings = mediaSettings; _authenticationService = authenticationService; _userAccountModelFactory = userAccountModelFactory; _userRegistrationService = userRegistrationService; _userService = userService; _userActivityService = userActivityService; _genericAttributeService = genericAttributeService; _notificationService = notificationService; _workContext = workContext; _tenantContext = tenantContext; _emailSender = emailSender; _pictureService = pictureService; }
public UserValidation(IUserRegistrationService userRegistrationService, IAttrValidationService attrValidationService) { _userRegistrationService = userRegistrationService; _attrValidationService = attrValidationService; _validationResults = new List <ValidationResult>(); }
public AccountController(IUserService userService, IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService) { _userService = userService; _authenticationService = authenticationService; _userRegistrationService = userRegistrationService; }
public GameFinishedCommand(IDbRepository <Models.User> useRepository, IMessageSender messageSender, ICategoryRepository categoryRepository, IUserRegistrationService userRegistrationService) { _useRepository = useRepository; _messageSender = messageSender; _categoryRepository = categoryRepository; _userRegistrationService = userRegistrationService; }
public IndividualController(IUserViewModelFactory userViewModelFactory, IUserRegistrationService userRegistrationService, SignInManager <IntegratorUser> signInManager) { this._userViewModelFactory = userViewModelFactory; this._userRegistrationService = userRegistrationService; this._signInManager = signInManager; }
public OAuthAuthenticationService(IUserService userService, IUserRegistrationService userRegistrationService, SecuritySettings securitySettings, ICryptographyService cryptographyService, HttpContextBase contextBase) : base(userService, userRegistrationService, securitySettings, cryptographyService, contextBase) { _userService = userService; }
public TokenController(IUserRegistrationService userRegistrationService, UserSettings userSettings, IUserService userService) { this._userRegistrationService = userRegistrationService; this._userSettings = userSettings; this._userService = userService; }
public AccountController( ILoginService loginService, IUserRegistrationService userRegistrationService, IUserService userService) { _loginService = loginService; _userRegistrationService = userRegistrationService; _userService = userService; }
public ConnectionAccountant(IUserRegistrationService userRegistrationService, IConnectedAccountService connectedAccountService, SecuritySettings securitySettings, IUserService userService, UserSettings userSettings, IRoleService roleService) { _userRegistrationService = userRegistrationService; _connectedAccountService = connectedAccountService; _securitySettings = securitySettings; _userService = userService; _userSettings = userSettings; _roleService = roleService; }
/// <summary> /// Конструктор /// </summary> public CompanyController(ICompanyService companyService, IQualificationService qualificationService, ICountryService countryService, IRegionService regionService, IUserRegistrationService userRegistrationService) { companyServ = companyService; qualificationServ = qualificationService; countryServ = countryService; regionServ = regionService; userRegistrationServ = userRegistrationService; }
private IUserRegistrationService GetServiceClient() { BasicHttpBinding binding = new BasicHttpBinding(); var userRegistrationServiceReference = ConfigurationManager.AppSettings["UserRegistrationService"]; EndpointAddress endpoint = new EndpointAddress(userRegistrationServiceReference); IUserRegistrationService client = ChannelFactory <IUserRegistrationService> .CreateChannel(binding, endpoint); return(client); }
public NetworkCommandServerToLoginTokenTranslator(IUserRegistrationService userRegistrationDataLayer, ISerializationAdapter serializationAdapter) { if (userRegistrationDataLayer == null) { throw new ArgumentNullException(nameof(userRegistrationDataLayer)); } UserRegistration = userRegistrationDataLayer; SerializationAdapter = serializationAdapter ?? throw new ArgumentNullException(nameof(serializationAdapter)); }
private static void SetDefaultUsersAndRoles() { IUserRegistrationService registrationService = bootstrapper.Kernel.Get <IUserRegistrationService>(); IRoleProvider roleProvider = bootstrapper.Kernel.Get <IRoleProvider>(); Guid userId = registrationService.Register("Timur", "Admin", false); roleProvider.CreateRole("Administrator", false); roleProvider.AddUserToRole(userId, "Administrator"); }
public TempService(IMailFindService mailFindService, ICompanyService companyService, ILogService logService, ApiContext context, IUserRegistrationService userRegistrationService, ICountryService countryService) { mailFindServ = mailFindService; companyServ = companyService; _logService = logService; db = context; countryServ = countryService; userRegistrationServ = userRegistrationService; }
public AccountController( IUserRegistrationService userRegistrationService, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager) { _userRegistrationService = userRegistrationService; _signInManager = signInManager; _userManager = userManager; }
public Registration() { InitializeComponent(); userRegistrationService = ChannelBuilder.GetChannelFactory <IUserRegistrationService>( new InstanceContext(this), new WSDualHttpBinding(), "http://localhost:8080/IRegistrationService" ).CreateChannel(); registrationButton.Click += RegistrationButton_Click; }
public CompanyMap(ICompanyService companyService, ICountryService countryService, IUserRegistrationService userRegistrationService, IQualificationService qualificationService, IServiceScopeFactory serviceScopeFactory) { userRegistrationServ = userRegistrationService; qualificationServ = qualificationService; countryServ = countryService; companyServ = companyService; this.serviceScopeFactory = serviceScopeFactory; }
public void Setup() { _unitOfWorkFactory = new FakeUnitOfWorkFactory(); IUserRepository userRepository = new FakeUserRepository(_unitOfWorkFactory); IMembershipRepository membershipRepository = new FakeMembershipRepository(_unitOfWorkFactory); _userRegistrationService = new UserRegistrationService(userRepository, membershipRepository, _unitOfWorkFactory); CreateTestData(); }
public AccountController(IUserService userService, IUserRegistrationService userRegistrationService, IAuthenticationService authenticationService, IWorkContext workContext) { _userService = userService; _userRegistrationService = userRegistrationService; _authenticationService = authenticationService; _workContext = workContext; }
public AuthenticationService(IUserService userService, IUserRegistrationService userRegistrationService, SecuritySettings securitySettings, ICryptographyService cryptographyService, HttpContextBase contextBase) { _userService = userService; _userRegistrationService = userRegistrationService; _securitySettings = securitySettings; _cryptographyService = cryptographyService; _contextBase = contextBase; }
public UserController(IUserService userService, IRoleService roleService, UserSettings userSettings, SecuritySettings securitySettings, IUserRegistrationService userRegistrationService, ICryptographyService cryptographyService, IMediaService mediaService, MediaSettings mediaSettings) { _userService = userService; _userSettings = userSettings; _securitySettings = securitySettings; _userRegistrationService = userRegistrationService; _cryptographyService = cryptographyService; _mediaService = mediaService; _mediaSettings = mediaSettings; _roleService = roleService; }
public UserController(IUserRegistrationService userRegistrationService, IActivityLogService activityLogService, IUserService userService, IAuthenticationService authenticationService, ILocalizationService localizationService) { this._userRegistrationService = userRegistrationService; this._activityLogService = activityLogService; this._userService = userService; this._authenticationService = authenticationService; this._localizationService = localizationService; }
public SecurityController(IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService, IGenericAttributeService attributeService, IWorkContext workContext, IUserService userService, IWorkflowMessageService messageService) { this.authenticationService = authenticationService; this.workContext = workContext; this.messageService = messageService; this.attributeService = attributeService; this.userRegistrationService = userRegistrationService; this.userService = userService; }
public MainViewModel(IUserRegistrationService userRegistrationService) { UserRegistrationService = userRegistrationService; InterestSelectorViewModel = new InterestSelectorViewModel(); InterestSelectorViewModel.SelectedInterestsChanged += OnSelectedInterestsChanged; ValidateCommand = new RelayCommand(Validate); ConfigureValidationRules(); Validator.ResultChanged += OnValidationResultChanged; }
public UserService(IUserForAuditingRepository auditedUserRepository, ISiteStructureElementRepository siteStructureElementRepository, IRoleRepository roleRepository , ISiteRepository siteRepository, IUserRepository userRepository, IPeninsulaLog log, IUserRegistrationService userRegistrationService, IBus bus) { _auditedUserRepository = auditedUserRepository; _siteStructureElementRepository = siteStructureElementRepository; _roleRepository = roleRepository; _siteRepository = siteRepository; _log = log; _userRegistrationService = userRegistrationService; _userRepository = userRepository; _bus = bus; }
public UserController(IPermissionService permissionService, IUserService userService, IDepartmentService departmentService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IWorkContext workContext, IUserRegistrationService userRegistrationService) { this._permissionService = permissionService; this._userService = userService; this._departmentService = departmentService; this._dateTimeHelper = dateTimeHelper; this._localizationService = localizationService; this._workContext = workContext; this._userRegistrationService = userRegistrationService; }
public UserController(IUserRegistrationService userRegistrationService, IActivityLogService activityLogService, IUserService userService, IJPushUserService jPushUserService, IAuthenticationService authenticationService, ILocalizationService localizationService, IEncryptionService encryptionService, WebAPISettings webAPISettings) { this._userRegistrationService = userRegistrationService; this._activityLogService = activityLogService; this._userService = userService; this._jPushUserService = jPushUserService; this._localizationService = localizationService; this._encryptionService = encryptionService; this._webAPISettings = webAPISettings; }
public UserController(IUserService userService, ILocalizationService localizationService, IEncryptionService encryptionService, IUserRegistrationService registrationService, IWorkflowMessageService messageService, IGenericAttributeService attributeService, IWorkContext workContext, ICacheManager cacheManager, IUserActivityService userActivityService, IBranchOfficeService officeService) { this.localizationService = localizationService; this.cacheManager = cacheManager; this.userActivityService = userActivityService; this.encryptionService = encryptionService; this.officeService = officeService; this.registrationService = registrationService; this.attributeService = attributeService; this.messageService = messageService; this.userService = userService; this.workContext = workContext; }
public AccountController( IWorkContext workContext, ICompanyContext companyContext, IWebHelper webHelper, IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IUserService userService, IUserActivityService userActivityService, IBusinessPartnerService bpService, UserSettings userSettings, LocalizationSettings localizationSettings, CaptchaSettings captchaSettings, DateTimeSettings dateTimeSettings) { this._workContext = workContext; this._companyContext = companyContext; this._webHelper = webHelper; this._authenticationService = authenticationService; this._userRegistrationService = userRegistrationService; this._localizationService = localizationService; this._dateTimeHelper = dateTimeHelper; this._userService = userService; this._userActivityService = userActivityService; this._bpService = bpService; this._userSettings = userSettings; this._dateTimeSettings = dateTimeSettings; this._localizationSettings = localizationSettings; this._captchaSettings = captchaSettings; }
internal static IUserRegistrationService GetUserRegistrationService() { if(RegistrationService == null) RegistrationService = new DbUserRegistrationService(); return RegistrationService; }