Exemple #1
0
 public AccountController(
     IUserManagerService userManagerService,
     ISigninManagerService signinManagerService)
 {
     this.userManagerService   = userManagerService;
     this.signinManagerService = signinManagerService;
 }
 public AccountController(IUserManagerService <User> userManager, IServiceHelper helper, IPasswordGenerator passwordGenerator, IMessagingFactory messagingFactory) : base(nameof(AccountController))
 {
     _userManager       = userManager;
     _helper            = helper;
     _passwordGenerator = passwordGenerator;
     _messagingFactory  = messagingFactory;
 }
Exemple #3
0
 public AuthController(IUserService userService,
                       INationalityService nationalityService,
                       IEducationService educationService,
                       IReligionService religionService,
                       IWorkService workService,
                       IGenderService genderService,
                       IDegreeService degreeService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       IMapper mapper,
                       ILoggerService <AuthController> loggerService,
                       IAuthService AuthService,
                       IStringLocalizer <AuthenticationErrors> resourceForErrors)
 {
     _AuthService          = AuthService;
     _userService          = userService;
     _nationalityService   = nationalityService;
     _religionService      = religionService;
     _degreeService        = degreeService;
     _workService          = workService;
     _educationService     = educationService;
     _genderService        = genderService;
     _confirmedUserService = confirmedUserService;
     _mapper             = mapper;
     _userManagerService = userManagerService;
     _loggerService      = loggerService;
     _resourceForErrors  = resourceForErrors;
 }
 public UserController(IPrincipal principal, IUserManagerService userService, IConfiguration configuration, IHostingEnvironment hostingEnvironment)
 {
     _userService        = userService;
     _configuration      = configuration;
     _hostingEnvironment = hostingEnvironment;
     this._principal     = principal as ClaimsPrincipal;
 }
Exemple #5
0
 public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IUserManagerService userManagerService, ISignInManagerService signInManagerService)
 {
     this.UserManager           = userManager;
     this.SignInManager         = signInManager;
     this._userManagerService   = userManagerService;
     this._signInManagerService = signInManagerService;
 }
 public RecurringTasksController(
     IRecurringTasksService recurringTasksService,
     IUserManagerService userManagerService)
 {
     _recurringTasksService = recurringTasksService;
     _userManagerService    = userManagerService;
 }
 public UsersController(INotificationHandler <DomainNotification> notifications,
                        IMediatorHandler mediator,
                        IUserManagerService userManagerService)
     : base(notifications, mediator)
 {
     _userManagerService = userManagerService;
 }
 public HomeController(
     IConsultationService consultationService,
     IOrderManageService orderManageService,
     IOrderTradeRecordService orderTradeRecordService,
     IRefundManageService refundManageService,
     ILeaguerInfoService leaguerservice,
     IUnitOfWorkManager unitOfWorkManager,
     IAttachmentServices attachmentServices,
     IUserManagerService userManagerService,
     IPublishsService publishsService,
     IAbpSession session,
     IYaeherOperListService yaeherOperListService,
     INotificationPublisher notificationPublisher)
 {
     _consultationService      = consultationService;
     _orderManageService       = orderManageService;
     _orderTradeRecordService  = orderTradeRecordService;
     _refundManageService      = refundManageService;
     _leaguerservice           = leaguerservice;
     _unitOfWorkManager        = unitOfWorkManager;
     _IabpSession              = session;
     _attachmentService        = attachmentServices;
     _userManagerService       = userManagerService;
     _publishsService          = publishsService;
     _YaeherOperListrepository = yaeherOperListService;
     _notificationPublisher    = notificationPublisher;
 }
Exemple #9
0
 public GetGameSessionsListQueryHandler(IUserManagerService userManager, ICurrentUserService currentUser, IFiefAppDbContext context, IMapper mapper)
 {
     _userManager = userManager;
     _context     = context;
     _mapper      = mapper;
     _currentUser = currentUser.GetCurrentUsername();
 }
Exemple #10
0
 public TokenAuthController(LogInManager logInManager,
                            ITenantCache tenantCache,
                            AbpLoginResultTypeHelper abpLoginResultTypeHelper,
                            TokenAuthConfiguration configuration,
                            IExternalAuthConfiguration externalAuthConfiguration,
                            IExternalAuthManager externalAuthManager,
                            UserRegistrationManager userRegistrationManager,
                            IYaeherUserService yaeherUserService,
                            IHostingEnvironment hostingEnvironment,
                            IUserManagerService userManagerService,
                            ISystemParameterService systemParameterService,
                            IYaeherUserPaymentService yaeherUserPaymentService,
                            ISystemConfigsService systemConfigsService,
                            ISystemTokenService systemTokenService,
                            IYaeherDoctorService yaeherDoctorService,
                            IUnitOfWorkManager unitOfWorkManager)
 {
     _logInManager              = logInManager;
     _tenantCache               = tenantCache;
     _abpLoginResultTypeHelper  = abpLoginResultTypeHelper;
     _configuration             = configuration;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _yaeherUserService         = yaeherUserService;
     _userManagerService        = userManagerService;
     _systemParameterService    = systemParameterService;
     _appConfiguration          = hostingEnvironment.GetAppConfiguration();
     _yaeherUserPaymentService  = yaeherUserPaymentService;
     _systemConfigsService      = systemConfigsService;
     _systemTokenService        = systemTokenService;
     _yaeherDoctorService       = yaeherDoctorService;
     _unitOfWorkManager         = unitOfWorkManager;
 }
 public TokenAuthenticationService(
     IUserManagerService userManagerService,
     IOptions <TokenManagement> tokenManagement)
 {
     this.userManagerService = userManagerService;
     this.tokenManagement    = tokenManagement.Value;
 }
 public UserController(IRoleManagerService roleManagerService, IUserManagerService userManagerService, IItemsService itemsService, IHostingEnvironment hostingEnvironment)
 {
     this._roleManagerService = roleManagerService;
     this._userManagerService = userManagerService;
     this._itemsService       = itemsService;
     this._hostingEnvironment = hostingEnvironment;
 }
Exemple #13
0
 public TaskTypesController(
     ITaskTypesService taskTypesService,
     IUserManagerService userManagerService)
 {
     _taskTypesService   = taskTypesService;
     _userManagerService = userManagerService;
 }
Exemple #14
0
 public Handler(IFiefAppDbContext context, IMediator mediator, IUserManagerService userManager, IJwtGenerator jwtGenerator)
 {
     _context      = context;
     _mediator     = mediator;
     _userManager  = userManager;
     _jwtGenerator = jwtGenerator;
 }
Exemple #15
0
 public Handler(IFiefAppDbContext context, IMediator mediator, IUserManagerService userManager, ICurrentUserService currentUser)
 {
     _context     = context;
     _mediator    = mediator;
     _userManager = userManager;
     _user        = currentUser.GetCurrentUsername();
 }
 public DeleteEmployeeCommandHandler(IShoppingDataContext context, IUserManagerService userManager,
                                     ICurrentUserService currentUser)
 {
     _context     = context;
     _userManager = userManager;
     _currentUser = currentUser;
 }
Exemple #17
0
 public MatchService(IMatchStore matchStore, IHubService hubService, IUserManagerService userManagerService, INavigationService navigationService)
 {
     this.matchStore         = matchStore;
     this.hubService         = hubService;
     this.userManagerService = userManagerService;
     this.navigationService  = navigationService;
 }
Exemple #18
0
 public BikeController(IBikeService bikeService, IUserManagerService userManagerService, ICommitProvider commitProvider, IOrderRepository orderRepository, IOrderService orderService)
 {
     _bikeService        = bikeService;
     _userManagerService = userManagerService;
     _commitProvider     = commitProvider;
     _orderRepository    = orderRepository;
     _orderService       = orderService;
 }
Exemple #19
0
 public AnnualReportController(IAnnualReportService annualReportService, IUserManagerService userManagerService, ILoggerService <AnnualReportController> loggerService,
                               IStringLocalizer <AnnualReportControllerMessage> localizer)
 {
     _annualReportService = annualReportService;
     _userManagerService  = userManagerService;
     _loggerService       = loggerService;
     _localizer           = localizer;
 }
Exemple #20
0
 public Startup(IUserManagerService userManagerService)
 {
     if (userManagerService == null)
     {
         throw new ArgumentNullException("userManagerService");
     }
     _userManagerService = userManagerService;
 }
 public ContextService(IMachineService machineService, IMesService mesService, IAccountService accountService, IUserManagerService userManagerService, IAssistanceService assistanceService)
 {
     _machineService     = machineService;
     _mesService         = mesService;
     _accountService     = accountService;
     _userManagerService = userManagerService;
     _assistanceService  = assistanceService;
 }
 public UserManagerController(IUserManagerService userService
                              , UserManager <ApplicationUser> userManager,
                              RoleManager <ApplicationRole> roleManager)
 {
     _userService = userService;
     _userManager = userManager;
     _roleManager = roleManager;
 }
 public AccountController(SignInManager <AspNetUser> signInManager, UserManager <AspNetUser> userManager, RoleManager <IdentityRole> roleManager, IUserManagerService userManagerService, IDonationService donationService)
 {
     _signInManager      = signInManager;
     _userManager        = userManager;
     _roleManager        = roleManager;
     _userManagerService = userManagerService;
     _donationService    = donationService;
 }
 public UpdateUserPasswordCommandHandler(IUserManagerService userManagerService, IIdentityDataContext dataContext,
                                         IMediator mediator, ILogger <UpdateUserPasswordCommandHandler> logger)
 {
     _userManagerService = userManagerService;
     _dataContext        = dataContext;
     _mediator           = mediator;
     _logger             = logger;
 }
Exemple #25
0
        public void With1ArgumentShouldThrowIfArgumentsAreNull()
        {
            var moqUserSv = new Mock <IUsersService>();
            IUserManagerService   moqUserManager   = null;
            ISignInManagerService moqsingInManager = null;

            Assert.ThrowsException <ArgumentNullException>(() => { new TelerikMovies.Web.Controllers.AccountController(moqUserSv.Object, moqsingInManager, moqUserManager); });
        }
Exemple #26
0
        public AccountController(IUserManagerService userManagerService, ISignInManagerService signInManagerService)
        {
            Guard.WhenArgument(userManagerService, "userManagerService").IsNull().Throw();
            Guard.WhenArgument(signInManagerService, "signInManagerService").IsNull().Throw();

            this.userManagerService   = userManagerService;
            this.signInManagerService = signInManagerService;
        }
Exemple #27
0
 public ClubMembersService(IRepositoryWrapper repoWrapper, IMapper mapper, IClubService clubService,
                           IUserManagerService userManagerService)
 {
     _repoWrapper        = repoWrapper;
     _mapper             = mapper;
     _clubService        = clubService;
     _userManagerService = userManagerService;
 }
Exemple #28
0
        public ShortMsgService()
        {
            var context = new WXDBContext();

            _msgRepository = new ShortMsgRepository(context);
            _userService   = new UserManagerService();
            CreateMapping();
        }
Exemple #29
0
        public ManageController(IUserManagerService userManager, ISignInManagerService signInManager)
        {
            Guard.WhenArgument(userManager, Common.Constants.UserManager).IsNull().Throw();
            Guard.WhenArgument(signInManager, Common.Constants.SignInManager).IsNull().Throw();

            this.signInService = signInManager;
            this.userService   = userManager;
        }
Exemple #30
0
 public ClubController(IClubService clubService, IClubAdministrationService clubAdministrationService,
                       IClubMembersService clubMembersService, IUserManagerService userManagerService, IMapper mapper)
 {
     _clubService = clubService;
     _clubAdministrationService = clubAdministrationService;
     _clubMembersService        = clubMembersService;
     _userManagerService        = userManagerService;
     _mapper = mapper;
 }
 public ADUserActionFilter(IHostedOrganisationService hostedOrganisationService, IServicePlanService servicePlanService, IUserManagerService userService)
 {
     this._HostedOrganisationService = hostedOrganisationService;
         this._ServicePlanService = servicePlanService;
         this._userService = userService;
 }
 public PartnerController(IPartnerService partnerService, IUserManagerService userService)
 {
     this._partnerService = partnerService;
     this._userService = userService;
 }
 public HostedOrganisationActionFilter(IStatusService statusService, IPartnerService partnerService, IUserManagerService userService)
 {
     this._statusService = statusService;
     this._partnerService = partnerService;
     this._userService = userService;
 }
 public AdminController(IUserManagerService userMenagerService, IRoleService roleService, IHostedOrganisationService hostedOrganisationService)
 {
     this._userMenagerService = userMenagerService;
     this._roleService = roleService;
     this._hostedOrganisationService = hostedOrganisationService;
 }
 public AccountActionFilter(IHostedOrganisationService hostedOrganisationService, IRoleService roleService, IUserManagerService userManagerService)
 {
     this._hostedOrganisationService = hostedOrganisationService;
     this._roleService = roleService;
     this._userManagerService = userManagerService;
 }
 public AdUsersController(IAdUserService adUserService, IUserManagerService userService)
 {
     this._aDUsersService = adUserService;
     this._userService = userService;
 }
 public HostedOrganisationController(IHostedOrganisationService hostedOrganisationService, IUserManagerService userService)
 {
     this._hostedOrganisationService = hostedOrganisationService;
     this._userService = userService;
 }
 public PresentationController(AppContext context, IUserManagerService userMenagerService)
 {
    this._context = context;
    this._userMenagerService = userMenagerService;
 }