Esempio n. 1
0
 public UserDomain(IUserEventHandler userEventHandler, IBaseRepository <UserInfo> userInfoRepository, IUserFacory userFacory, IMapper mapper)
 {
     this._userInfoRepository = userInfoRepository;
     this._mapper             = mapper;
     this._userFacory         = userFacory;
     this._userEventHandler   = userEventHandler;
 }
Esempio n. 2
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IFrontEndProfileService frontEndProfileService,
     ShellSettings shellSetting,
     IUserEventHandler userEventHandler,
     IAccountValidationService accountValidationService)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     Logger                    = NullLogger.Instance;
     T                         = NullLocalizer.Instance;
     Shape                     = shapeFactory;
     _contentManager           = contentManager;
     _frontEndProfileService   = frontEndProfileService;
     _shellSettings            = shellSetting;
     _userEventHandler         = userEventHandler;
     _accountValidationService = accountValidationService;
 }
 public SignInUserActivity(IMembershipService membershipService, IAuthenticationService authenticationService, IUserEventHandler userEventHandler)
 {
     _membershipService     = membershipService;
     _authenticationService = authenticationService;
     _userEventHandler      = userEventHandler;
     T = NullLocalizer.Instance;
 }
Esempio n. 4
0
 public UsersExtensionsServices(
     IOrchardServices orchardServices,
     IPolicyServices policySerivces,
     IMembershipService membershipService,
     IUtilsServices utilsServices,
     IAuthenticationService authenticationService,
     IUserService userService,
     IUserEventHandler userEventHandler,
     IShapeFactory shapeFactory,
     ICultureManager cultureManager,
     ICommonsServices commonsServices,
     IAccountValidationService accountValidationService)
 {
     T                         = NullLocalizer.Instance;
     Log                       = NullLogger.Instance;
     _policyServices           = policySerivces;
     _orchardServices          = orchardServices;
     _membershipService        = membershipService;
     _authenticationService    = authenticationService;
     _utilsServices            = utilsServices;
     _userService              = userService;
     _userEventHandler         = userEventHandler;
     _shapeFactory             = shapeFactory;
     _cultureManager           = cultureManager;
     _commonsServices          = commonsServices;
     _accountValidationService = accountValidationService;
 }
 public VendedoresController(IOrchardServices orchardServices, IMembershipService membershipService, IUserService userService, IUserEventHandler userEventHandler, IAuthenticationService authenticationService)
 {
     _orchardServices       = orchardServices;
     _membershipService     = membershipService;
     _userService           = userService;
     _userEventHandler      = userEventHandler;
     _authenticationService = authenticationService;
 }
Esempio n. 6
0
 public MyHostService(IProcessManager processManager,
                      IOrderEventHandler orderEventHandler,
                      IProductEventHandler productEventHandler,
                      IUserEventHandler userEventHandler
                      )
 {
     this.processManager      = processManager;
     this.orderEventHandler   = orderEventHandler;
     this.productEventHandler = productEventHandler;
     this.userEventHandler    = userEventHandler;
 }
 public AdminSwitchUserController(
     IAuthorizer authorizer,
     IMembershipService membershipService,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler,
     IWorkContextAccessor workContextAccessor)
 {
     _membershipService     = membershipService;
     _authenticationService = authenticationService;
     _userEventHandler      = userEventHandler;
     _workContextAccessor   = workContextAccessor;
 }
Esempio n. 8
0
 public AccountController(
     IUserEventHandler userEventHandler,
     IProfileService profileService,
     IDetectMobileService detectMobileService,
     IApplicationsService applicationsService
     )
 {
     _userEventHandler    = userEventHandler;
     _profileService      = profileService;
     _detectMobileService = detectMobileService;
     _applicationsService = applicationsService;
 }
Esempio n. 9
0
 public MembershipService(
     IOrchardServices OrchardService,
     IRepository<UserRecord> userRepository,
     IUserEventHandler userEventHandlers,
     IClock clock,
     IEncryptionService encryptionService)
 {
     _orchardServices = OrchardService;
     _userEventHandlers = userEventHandlers;
     _encryptionService = encryptionService;
     _userRepository = userRepository;
     Logger = NullLogger.Instance;
 }
Esempio n. 10
0
 public MembershipService(
     IOrchardServices OrchardService,
     IRepository <UserRecord> userRepository,
     IUserEventHandler userEventHandlers,
     IClock clock,
     IEncryptionService encryptionService)
 {
     _orchardServices   = OrchardService;
     _userEventHandlers = userEventHandlers;
     _encryptionService = encryptionService;
     _userRepository    = userRepository;
     Logger             = NullLogger.Instance;
 }
Esempio n. 11
0
 public AccountController(
     IAuthenticationService authenticationService, 
     IMembershipService membershipService,
     IUserService userService, 
     IOrchardServices orchardServices,
     IUserEventHandler userEventHandler) {
     _authenticationService = authenticationService;
     _membershipService = membershipService;
     _userService = userService;
     _orchardServices = orchardServices;
     _userEventHandler = userEventHandler;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
Esempio n. 12
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices OrchardServices,
     IUserEventHandler userEventHandler)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = OrchardServices;
     _userEventHandler      = userEventHandler;
     Logger = NullLogger.Instance;
 }
Esempio n. 13
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     ITomeltServices tomeltServices,
     IUserEventHandler userEventHandler)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _tomeltServices        = tomeltServices;
     _userEventHandler      = userEventHandler;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
 public SiteController(
     IRegistrationServices registrationServices,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler,
     IEmailServices emailServices,
     IListingServices listingServices)
 {
     _registrationServices = registrationServices;
     _emailServices = emailServices;
     _listingServices = listingServices;
     _authenticationService = authenticationService;       
     _userEventHandler = userEventHandler;
     Logger = NullLogger.Instance;
     CurrentUser = authenticationService.GetAuthenticatedUser();
 }
Esempio n. 15
0
 public AccountController(
     IAuthenticationService authenticationService,
     ISmartWalkUserService swUserService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IUserEventHandler userEventHandler)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _swUserService         = swUserService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     _userEventHandler      = userEventHandler;
 }
Esempio n. 16
0
 public OpenAuthSecurityManagerWrapper(IHttpContextAccessor httpContextAccessor,
                                       IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                       IOrchardOpenAuthDataProvider orchardOpenAuthDataProvider,
                                       IAuthenticationService authenticationService,
                                       IMembershipService membershipService,
                                       IUserEventHandler userEventHandler,
                                       IEnumerable <IExternalAuthenticationClient> openAuthAuthenticationClients)
 {
     _httpContextAccessor           = httpContextAccessor;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _orchardOpenAuthDataProvider   = orchardOpenAuthDataProvider;
     _authenticationService         = authenticationService;
     _membershipService             = membershipService;
     _userEventHandler = userEventHandler;
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
 }
Esempio n. 17
0
 public NonceLoginApiController(
     IUtilsServices utilsServices,
     IUsersExtensionsServices usersExtensionsServices,
     INonceService nonceService,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler,
     IEnumerable <IIdentityProvider> identityProviders
     )
 {
     _utilsServices           = utilsServices;
     _usersExtensionsServices = usersExtensionsServices;
     _nonceService            = nonceService;
     _authenticationService   = authenticationService;
     _userEventHandler        = userEventHandler;
     _identityProviders       = identityProviders;
 }
Esempio n. 18
0
        public AccountController(
            IEnumerable <IOpenIdProvider> openIdProviders,
            IAuthenticationService authenticationService,
            IMembershipService membershipService,
            IOrchardServices orchardServices,
            IUserEventHandler userEventHandler)
        {
            _openIdProviders       = openIdProviders;
            _authenticationService = authenticationService;
            _membershipService     = membershipService;
            _orchardServices       = orchardServices;
            _userEventHandler      = userEventHandler;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
Esempio n. 19
0
 public AKUserActionsController(
     IOrchardServices orchardServices,
     IUsersExtensionsServices usersExtensionsServices,
     IUserService userService,
     IUtilsServices utilsServices,
     IUserEventHandler userEventHandler,
     IEnumerable <IIdentityProvider> identityProviders) : base(
         orchardServices,
         utilsServices,
         usersExtensionsServices,
         identityProviders,
         userService,
         userEventHandler
         )
 {
 }
        public BaseUserActionsController(
            IOrchardServices orchardServices,
            IUtilsServices utilsServices,
            IUsersExtensionsServices usersExtensionsServices,
            IEnumerable <IIdentityProvider> identityProviders,
            IUserService userService,
            IUserEventHandler userEventHandler)
        {
            _orchardServices         = orchardServices;
            _utilsServices           = utilsServices;
            _usersExtensionsServices = usersExtensionsServices;
            _identityProviders       = identityProviders;
            _userService             = userService;
            _userEventHandler        = userEventHandler;

            T = NullLocalizer.Instance;
        }
Esempio n. 21
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IUserEventHandler userEventHandler,
     IHttpContextAccessor httpContextAccessor)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     _userEventHandler      = userEventHandler;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
     _httpContextAccessor = httpContextAccessor;
 }
Esempio n. 22
0
 public AdminController(
     IOrchardServices services,
     IMembershipService membershipService,
     IUserService userService,
      IUserEventHandler userEventHandlers,
     IRepository<UserRecord> userRepository,
     ISettingService settingService,
     ISiteService siteService)
 {
     Services = services;
     _membershipService = membershipService;
     _userService = userService;
     _userEventHandlers = userEventHandlers;
     _siteService = siteService;
     _userRepository = userRepository;
     _settingService = settingService;
 }
Esempio n. 23
0
 public AdminController(
     IOrchardServices services,
     IMembershipService membershipService,
     IUserService userService,
     IUserEventHandler userEventHandlers,
     IRepository <UserRecord> userRepository,
     ISettingService settingService,
     ISiteService siteService)
 {
     Services           = services;
     _membershipService = membershipService;
     _userService       = userService;
     _userEventHandlers = userEventHandlers;
     _siteService       = siteService;
     _userRepository    = userRepository;
     _settingService    = settingService;
 }
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IUserEventHandler userEventHandler,
     ILimitLoginService limitLoginService)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     _userEventHandler      = userEventHandler;
     _limitLoginService     = limitLoginService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
        public AdminController(
            IOrchardServices services,
            IMembershipService membershipService,
            IUserService userService,
            IShapeFactory shapeFactory,
            IUserEventHandler userEventHandlers,
            ISiteService siteService)
        {
            Services           = services;
            _membershipService = membershipService;
            _userService       = userService;
            _userEventHandlers = userEventHandlers;
            _siteService       = siteService;

            T     = NullLocalizer.Instance;
            Shape = shapeFactory;
        }
Esempio n. 26
0
 public loginController(
     IAuthenticationService authenticationService,
     IOrchardServices orchardServices,
     IMembershipService membershipService,
     IUserEventHandler userEventHandler,
     IApplicationsService applicationsService,
     IProfileService profileService,
     ILoginsService loginsService
     )
 {
     _authenticationService = authenticationService;
     _orchardServices       = orchardServices;
     _membershipService     = membershipService;
     _userEventHandler      = userEventHandler;
     _profileService        = profileService;
     _applicationsService   = applicationsService;
     _loginsService         = loginsService;
 }
Esempio n. 27
0
 public OpenAuthMembershipServices(IOrchardServices orchardServices,
                                   IMembershipService membershipService,
                                   IUsernameService usernameService,
                                   IPasswordGeneratorService passwordGeneratorService,
                                   IEnumerable <IOpenAuthUserEventHandler> openAuthUserEventHandlers,
                                   IContactRelatedEventHandler contactEventHandler,
                                   IUserEventHandler userEventHandlers)
 {
     _orchardServices           = orchardServices;
     _userEventHandlers         = userEventHandlers;
     _membershipService         = membershipService;
     _usernameService           = usernameService;
     _passwordGeneratorService  = passwordGeneratorService;
     _openAuthUserEventHandlers = openAuthUserEventHandlers;
     _contactEventHandler       = contactEventHandler;
     T      = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
 public AppMembershipService(
     IOrchardServices orchardServices,
     IEncryptionService encryptionService,
     IAppConfigurationAccessor appConfigurationAccessor,
     IUserEventHandler userEventHandlers,
     IAccountEventHandler accountEventHandlers,
     IClock clock,
     IEmployeeService employeeService)
 {
     _orchardServices          = orchardServices;
     _encryptionService        = encryptionService;
     _appConfigurationAccessor = appConfigurationAccessor;
     _userEventHandlers        = userEventHandlers;
     _accountEventHandlers     = accountEventHandlers;
     _clock           = clock;
     _employeeService = employeeService;
     Logger           = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
 public MembershipService(
     IOrchardServices orchardServices, 
     IMessageService messageService, 
     IUserEventHandler userEventHandlers, 
     IClock clock, 
     IEncryptionService encryptionService,
     IShapeFactory shapeFactory,
     IShapeDisplay shapeDisplay,
     IAppConfigurationAccessor appConfigurationAccessor) {
     _orchardServices = orchardServices;
     _messageService = messageService;
     _userEventHandlers = userEventHandlers;
     _encryptionService = encryptionService;
     _shapeFactory = shapeFactory;
     _shapeDisplay = shapeDisplay;
     _appConfigurationAccessor = appConfigurationAccessor;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
Esempio n. 30
0
        public FacebookController(
            IOrchardServices orchardService,
            IAuthenticationService auth,
            IMembershipService membershipService,
            IUserEventHandler userEventHandler,
            IContentManager contentManager)
        {
            this.orchardService    = orchardService;
            this.auth              = auth;
            this.membershipService = membershipService;
            this.userEventHandler  = userEventHandler;
            this.contentManager    = contentManager;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;

            // Acquire Facebook settings
            awsS3SettingPart  = orchardService.WorkContext.CurrentSite.As <AwsS3SettingPart>();
            commonSettingPart = orchardService.WorkContext.CurrentSite.As <CommonSettingPart>();
        }
 public AKAccountController(
     INotifier notifier,
     IUtilsServices utilsServices,
     IOrchardOpenAuthClientProvider openAuthClientProvider,
     IOrchardOpenAuthWebSecurity orchardOpenAuthWebSecurity,
     IEnumerable <IIdentityProvider> identityProviders,
     IOpenAuthMembershipServices openAuthMembershipServices,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler) : base(
         utilsServices,
         openAuthClientProvider,
         orchardOpenAuthWebSecurity,
         identityProviders,
         openAuthMembershipServices,
         authenticationService,
         userEventHandler,
         notifier
         )
 {
 }
Esempio n. 32
0
 public MembershipService(
     IOrchardServices orchardServices,
     IMessageService messageService,
     IUserEventHandler userEventHandlers,
     IClock clock,
     IEncryptionService encryptionService,
     IShapeFactory shapeFactory,
     IShapeDisplay shapeDisplay,
     IAppConfigurationAccessor appConfigurationAccessor)
 {
     _orchardServices          = orchardServices;
     _messageService           = messageService;
     _userEventHandlers        = userEventHandlers;
     _encryptionService        = encryptionService;
     _shapeFactory             = shapeFactory;
     _shapeDisplay             = shapeDisplay;
     _appConfigurationAccessor = appConfigurationAccessor;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Esempio n. 33
0
        public AdminUserController(
            IActivityStreamService activityStreamService,
            ICRMContentOwnershipService crmContentOwnershipService,
            IOrchardServices services,
            IMembershipService membershipService,
            IUserService userService,
            IShapeFactory shapeFactory,
            IUserEventHandler userEventHandlers,
            ISiteService siteService)
        {
            this.activityStreamService      = activityStreamService;
            this.crmContentOwnershipService = crmContentOwnershipService;
            Services           = services;
            _membershipService = membershipService;
            _userService       = userService;
            _userEventHandlers = userEventHandlers;
            _siteService       = siteService;

            T     = NullLocalizer.Instance;
            Shape = shapeFactory;
        }
        public BaseAccountController(
            IUtilsServices utilsServices,
            IOrchardOpenAuthClientProvider openAuthClientProvider,
            IOrchardOpenAuthWebSecurity orchardOpenAuthWebSecurity,
            IEnumerable <IIdentityProvider> identityProviders,
            IOpenAuthMembershipServices openAuthMembershipServices,
            IAuthenticationService authenticationService,
            IUserEventHandler userEventHandler,
            INotifier notifier)
        {
            _utilsServices              = utilsServices;
            _openAuthClientProvider     = openAuthClientProvider;
            _orchardOpenAuthWebSecurity = orchardOpenAuthWebSecurity;
            _identityProviders          = identityProviders;
            _openAuthMembershipServices = openAuthMembershipServices;
            _authenticationService      = authenticationService;
            _userEventHandler           = userEventHandler;
            _notifier = notifier;

            T = NullLocalizer.Instance;
        }
Esempio n. 35
0
 public AdminController(
     IOrchardServices service,
     IMembershipService membershipService,
     IUserService userService,
     IShapeFactory shapeFactory,
     IUserEventHandler userEventHandlers,
     ISiteService siteService,
     ITransactionManager transactionManager,
     IContentDefinitionManager contentDefinitionManager
     )
 {
     this.service                  = service;
     this.membershipService        = membershipService;
     this.userService              = userService;
     this.userEventHandlers        = userEventHandlers;
     this.siteService              = siteService;
     this.transactionManager       = transactionManager;
     this.contentDefinitionManager = contentDefinitionManager;
     T     = NullLocalizer.Instance;
     Shape = shapeFactory;
 }
 public TwoFactorAuthenticationController(
     IAuthenticationService authenticationService, 
     IMembershipService membershipService,
     IUserService userService, 
     IOrchardServices orchardServices,
     IUserEventHandler userEventHandler,
     ITwoFactorAuthenticator twoFactorAuthenticator,
     INotifier notifier,
     IMessageService messageService,
     IFeatureManager featureManager)
 {
     _authenticationService = authenticationService;
     _membershipService = membershipService;
     _userService = userService;
     _orchardServices = orchardServices;
     _userEventHandler = userEventHandler;
     _twoFactorAuthenticator = twoFactorAuthenticator;
     _notifier = notifier;
     _messageService = messageService;
     _featureManager = featureManager;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
Esempio n. 37
0
		public MyService(
			IMembershipService membershipService,
			IUserEventHandler userEventHandler,
			IOrchardServices orchardServices,
			IShapeFactory shapeFactory,
			IShapeDisplay shapeDisplay,
			IMessageService messageService,
			ICustomUserEventHandler customUserEventHandler,
			IEncryptionService encryptionService,
			IClock clock)
		{
			this.orchardServices = orchardServices;
			this.membershipService = membershipService;
			this.userEventHandler = userEventHandler;
			this.shapeFactory = shapeFactory;
			this.shapeDisplay = shapeDisplay;
			this.messageService = messageService;
			this.customUserEventHandler = customUserEventHandler;
			this.encryptionService = encryptionService;
			this.clock = clock;
			this.Logger = NullLogger.Instance;
			this.T = NullLocalizer.Instance;
		}
Esempio n. 38
0
 public ApproveUserActivity(IUserEventHandler userEventHandlers) {
     _userEventHandlers = userEventHandlers;
     T = NullLocalizer.Instance;
 }