public AccountController(
     UserManager userManager,
     IMultiTenancyConfig multiTenancyConfig,
     IUserEmailer userEmailer,
     RoleManager roleManager,
     TenantManager tenantManager,
     IUnitOfWorkManager unitOfWorkManager,
     ITenancyNameFinder tenancyNameFinder,
     ICacheManager cacheManager,
     IAppNotifier appNotifier,
     IWebUrlService webUrlService,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     IUserLinkManager userLinkManager,
     INotificationSubscriptionManager notificationSubscriptionManager)
 {
     _userManager = userManager;
     _multiTenancyConfig = multiTenancyConfig;
     _userEmailer = userEmailer;
     _roleManager = roleManager;
     _tenantManager = tenantManager;
     _unitOfWorkManager = unitOfWorkManager;
     _tenancyNameFinder = tenancyNameFinder;
     _cacheManager = cacheManager;
     _webUrlService = webUrlService;
     _appNotifier = appNotifier;
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _userLinkManager = userLinkManager;
     _notificationSubscriptionManager = notificationSubscriptionManager;
 }
 public UserAppService_Link_Tests()
 {
     _userLinkAppService = Resolve<IUserLinkAppService>();
     _userLinkManager = Resolve<IUserLinkManager>();
     _userManager = Resolve<UserManager>();
     _tenantManager = Resolve<TenantManager>();
 }
 public UserLinkAppService(
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     IUserLinkManager userLinkManager,
     IRepository<Tenant> tenantRepository,
     IRepository<UserAccount, long> userAccountRepository)
 {
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _userLinkManager = userLinkManager;
     _tenantRepository = tenantRepository;
     _userAccountRepository = userAccountRepository;
 }
示例#4
0
        public AccountAppService(
            IUserEmailer userEmailer,
            UserRegistrationManager userRegistrationManager,
            IImpersonationManager impersonationManager,
            IUserLinkManager userLinkManager,
            IPasswordHasher <User> passwordHasher,
            IWebUrlService webUrlService)
        {
            _userEmailer             = userEmailer;
            _userRegistrationManager = userRegistrationManager;
            _impersonationManager    = impersonationManager;
            _userLinkManager         = userLinkManager;
            _passwordHasher          = passwordHasher;
            _webUrlService           = webUrlService;

            AppUrlService      = NullAppUrlService.Instance;
            RecaptchaValidator = NullRecaptchaValidator.Instance;
        }
示例#5
0
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     UserManager userManager,
     ICacheManager cacheManager,
     IOptions <JwtBearerOptions> jwtOptions,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IAppNotifier appNotifier,
     ISmsSender smsSender,
     IEmailSender emailSender,
     IOptions <IdentityOptions> identityOptions,
     GoogleAuthenticatorProvider googleAuthenticatorProvider,
     IRepository <PERSONALS, string> personalsRepo,
     IRepository <PERSONALS_MEMBER, string> personalsMemberRepo,
     IRepository <MP_UserPersonals> mpUserPersonalsRepo
     )
 {
     _logInManager             = logInManager;
     _tenantCache              = tenantCache;
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _configuration            = configuration;
     _userManager              = userManager;
     _cacheManager             = cacheManager;
     _jwtOptions = jwtOptions;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _impersonationManager      = impersonationManager;
     _userLinkManager           = userLinkManager;
     _appNotifier = appNotifier;
     _smsSender   = smsSender;
     _emailSender = emailSender;
     _googleAuthenticatorProvider = googleAuthenticatorProvider;
     _identityOptions             = identityOptions.Value;
     _personalsRepo       = personalsRepo;
     _personalsMemberRepo = personalsMemberRepo;
     _mpUserPersonalsRepo = mpUserPersonalsRepo;
 }
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     IUserManager userManager,
     ICacheManager cacheManager,
     IOptions <JwtBearerOptions> jwtOptions,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IAppNotifier appNotifier,
     ISmsSender smsSender,
     IEmailSender emailSender,
     IOptions <IdentityOptions> identityOptions,
     GoogleAuthenticatorProvider googleAuthenticatorProvider,
     IRepository <Tenant> tenantRepository,
     IAccountAppService accountAppService,
     IRepository <User, long> userRepository)
 {
     _logInManager             = logInManager;
     _tenantCache              = tenantCache;
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _configuration            = configuration;
     _userManager              = userManager;
     _cacheManager             = cacheManager;
     _jwtOptions = jwtOptions;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _impersonationManager      = impersonationManager;
     _userLinkManager           = userLinkManager;
     _appNotifier = appNotifier;
     _smsSender   = smsSender;
     _emailSender = emailSender;
     _googleAuthenticatorProvider = googleAuthenticatorProvider;
     _identityOptions             = identityOptions.Value;
     _tenantRepository            = tenantRepository;
     _accountAppService           = accountAppService;
     _userRepository = userRepository;
 }
示例#7
0
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     TokenAuthConfiguration configuration,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IOptions <IdentityOptions> identityOptions,
     IRepository <User, long> userRepository,
     IPasswordHasher <User> passwordHasher)
 {
     _logInManager         = logInManager;
     _tenantCache          = tenantCache;
     _configuration        = configuration;
     _impersonationManager = impersonationManager;
     _userLinkManager      = userLinkManager;
     _userRepository       = userRepository;
     _passwordHasher       = passwordHasher;
     _identityOptions      = identityOptions.Value;
 }
示例#8
0
 public AccountController(
     LogInManager logInManager,
     UserManager userManager,
     IMultiTenancyConfig multiTenancyConfig,
     IUserEmailer userEmailer,
     RoleManager roleManager,
     TenantManager tenantManager,
     IUnitOfWorkManager unitOfWorkManager,
     ITenancyNameFinder tenancyNameFinder,
     ICacheManager cacheManager,
     IAppNotifier appNotifier,
     IWebUrlService webUrlService,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     IUserLinkManager userLinkManager,
     INotificationSubscriptionManager notificationSubscriptionManager,
     SignInManager signInManager,
     IAuthenticationManager authenticationManager,
     ILanguageManager languageManager,
     IUserPolicy userPolicy,
     IRepository <FinanceAccount, long> accountRepository)
 {
     _userManager                     = userManager;
     _multiTenancyConfig              = multiTenancyConfig;
     _userEmailer                     = userEmailer;
     _roleManager                     = roleManager;
     _tenantManager                   = tenantManager;
     _unitOfWorkManager               = unitOfWorkManager;
     _tenancyNameFinder               = tenancyNameFinder;
     _cacheManager                    = cacheManager;
     _webUrlService                   = webUrlService;
     _appNotifier                     = appNotifier;
     _abpLoginResultTypeHelper        = abpLoginResultTypeHelper;
     _userLinkManager                 = userLinkManager;
     _notificationSubscriptionManager = notificationSubscriptionManager;
     _signInManager                   = signInManager;
     _authenticationManager           = authenticationManager;
     _languageManager                 = languageManager;
     _userPolicy        = userPolicy;
     _logInManager      = logInManager;
     _accountRepository = accountRepository;
 }
示例#9
0
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     UserManager userManager,
     ICacheManager cacheManager,
     IOptions <JwtBearerOptions> jwtOptions,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IAppNotifier appNotifier,
     ISmsSender smsSender,
     IEmailSender emailSender,
     IOptions <IdentityOptions> identityOptions,
     GoogleAuthenticatorProvider googleAuthenticatorProvider,
     IdentityServerTokenGeneratorFacade identityServerTokenGeneratorFacade)
 {
     _logInManager             = logInManager;
     _tenantCache              = tenantCache;
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _configuration            = configuration;
     _userManager              = userManager;
     _cacheManager             = cacheManager;
     _jwtOptions = jwtOptions;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _impersonationManager      = impersonationManager;
     _userLinkManager           = userLinkManager;
     _appNotifier = appNotifier;
     _smsSender   = smsSender;
     _emailSender = emailSender;
     _googleAuthenticatorProvider        = googleAuthenticatorProvider;
     _identityOptions                    = identityOptions.Value;
     _identityServerTokenGeneratorFacade = identityServerTokenGeneratorFacade;
 }
示例#10
0
        public UserAppService(
            RoleManager roleManager,
            IUserEmailer userEmailer,
            IUserListExcelExporter userListExcelExporter,
            INotificationSubscriptionManager notificationSubscriptionManager,

            IAppNotifier appNotifier, IUnitOfWorkManager unitOfWorkManager, IRepository <Role> roletUnitRepository,
            IRepository <UserRole, long> userRoleRepository, IRepository <User, long> userUnitRepository, IUserLinkManager userLinkManager,
            IRepository <UserAccount, long> userAccountUnitRepository, IRepository <Tenant> tenantUnitRepository, TenantManager tenantManager,
            RoleAppService roleAppService)

        {
            _roleManager                     = roleManager;
            _userEmailer                     = userEmailer;
            _userListExcelExporter           = userListExcelExporter;
            _notificationSubscriptionManager = notificationSubscriptionManager;
            _appNotifier                     = appNotifier;
            _unitOfWorkManager               = unitOfWorkManager;
            _rolesUnitRepository             = roletUnitRepository;
            _userRoleRepository              = userRoleRepository;
            _userUnitRepository              = userUnitRepository;
            _userLinkManager                 = userLinkManager;
            _userAccountUnitRepository       = userAccountUnitRepository;
            _tenantUnitRepository            = tenantUnitRepository;
            _tenantManager                   = tenantManager;
            _roleAppService                  = roleAppService;
        }