public AccountController(
            UserManager userManager,
            IMultiTenancyConfig multiTenancyConfig,
            TenantManager tenantManager,
            IUnitOfWorkManager unitOfWorkManager,
            AbpLoginResultTypeHelper abpLoginResultTypeHelper,
            LogInManager logInManager,
            SignInManager signInManager,
            UserRegistrationManager userRegistrationManager,
            ITenantCache tenantCache,
            INotificationPublisher notificationPublisher,
            IMailManager mailManager,
            ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory, IAccountAppService accountAppService)
        {
            _userManager              = userManager;
            _multiTenancyConfig       = multiTenancyConfig;
            _tenantManager            = tenantManager;
            _unitOfWorkManager        = unitOfWorkManager;
            _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
            _logInManager             = logInManager;
            _signInManager            = signInManager;
            _userRegistrationManager  = userRegistrationManager;

            _tenantCache           = tenantCache;
            _notificationPublisher = notificationPublisher;

            _mailManager = mailManager;

            _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory;
            _accountAppService = accountAppService;
        }
Пример #2
0
 public AccountController(
     UserManager userManager,
     IMultiTenancyConfig multiTenancyConfig,
     TenantManager tenantManager,
     IUnitOfWorkManager unitOfWorkManager,
     IAppNotifier appNotifier,
     IWebUrlService webUrlService,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     IUserLinkManager userLinkManager,
     LogInManager logInManager,
     SignInManager signInManager,
     IRecaptchaValidator recaptchaValidator,
     ITenantCache tenantCache,
     IAccountAppService accountAppService,
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager,
     IAppUrlService appUrlService,
     IPerRequestSessionCache sessionCache,
     IEmailSender emailSender,
     ISmsSender smsSender,
     IPasswordComplexitySettingStore passwordComplexitySettingStore,
     IOptions <IdentityOptions> identityOptions,
     ISessionAppService sessionAppService,
     ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory,
     ISettingManager settingManager,
     IUserDelegationManager userDelegationManager)
 {
     _userManager              = userManager;
     _multiTenancyConfig       = multiTenancyConfig;
     _tenantManager            = tenantManager;
     _unitOfWorkManager        = unitOfWorkManager;
     _webUrlService            = webUrlService;
     _appNotifier              = appNotifier;
     _abpLoginResultTypeHelper = abpLoginResultTypeHelper;
     _userLinkManager          = userLinkManager;
     _logInManager             = logInManager;
     _signInManager            = signInManager;
     _recaptchaValidator       = recaptchaValidator;
     _tenantCache              = tenantCache;
     _accountAppService        = accountAppService;
     _userRegistrationManager  = userRegistrationManager;
     _impersonationManager     = impersonationManager;
     _appUrlService            = appUrlService;
     _sessionCache             = sessionCache;
     _emailSender              = emailSender;
     _smsSender = smsSender;
     _passwordComplexitySettingStore = passwordComplexitySettingStore;
     _identityOptions   = identityOptions.Value;
     _sessionAppService = sessionAppService;
     _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory;
     _settingManager        = settingManager;
     _userDelegationManager = userDelegationManager;
 }
Пример #3
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,
            ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory,
            ISettingManager settingManager,
            IJwtSecurityStampHandler securityStampHandler,
            AbpUserClaimsPrincipalFactory <User, Role> claimsPrincipalFactory,
            IUserDevicesAppService userDevicesAppService,

            IBinaryObjectManager binaryObjectManager)
        {
            _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;
            _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory;
            _settingManager         = settingManager;
            _securityStampHandler   = securityStampHandler;
            _identityOptions        = identityOptions.Value;
            _claimsPrincipalFactory = claimsPrincipalFactory;
            RecaptchaValidator      = NullRecaptchaValidator.Instance;
            _binaryObjectManager    = binaryObjectManager;
            _userDevicesAppService  = userDevicesAppService;
        }
Пример #4
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,
     ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory,
     ISettingManager settingManager,
     IJwtSecurityStampHandler securityStampHandler,
     AbpUserClaimsPrincipalFactory <User, Role> claimsPrincipalFactory, IRepository <CM_BRANCH, string> cmBranchRepository, LDapAuthConfiguration ldapConfiguration, SignInManager signInManager, IEnumerable <IPasswordValidator <User> > passwordValidators, IRepository <HoSo, int> hoSoRepository)
 {
     _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;
     _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory;
     _settingManager         = settingManager;
     _securityStampHandler   = securityStampHandler;
     _identityOptions        = identityOptions.Value;
     _claimsPrincipalFactory = claimsPrincipalFactory;
     _cmBranchRepository     = cmBranchRepository;
     _ldapConfiguration      = ldapConfiguration;
     _signInManager          = signInManager;
     _passwordValidators     = passwordValidators;
     _hoSoRepository         = hoSoRepository;
     RecaptchaValidator      = NullRecaptchaValidator.Instance;
 }
 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,
     ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory)
 {
     _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;
     _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory;
     _identityOptions = identityOptions.Value;
 }