public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager,
     ICacheManager cacheManager,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IOptions <IdentityOptions> identityOptions,
     IVerificationCodeService verificationCodeService,
     UserManager userManager, IDataFileObjectManager dataFileObjectManager
     )
 {
     _logInManager              = logInManager;
     _tenantCache               = tenantCache;
     _abpLoginResultTypeHelper  = abpLoginResultTypeHelper;
     _configuration             = configuration;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _cacheManager              = cacheManager;
     _impersonationManager      = impersonationManager;
     _userLinkManager           = userLinkManager;
     _identityOptions           = identityOptions.Value;
     _userManager               = userManager;
     _dataFileObjectManager     = dataFileObjectManager;
     _verificationCodeService   = verificationCodeService;
 }
        public AccountAppService(
            IUserEmailer userEmailer,
            UserRegistrationManager userRegistrationManager,
            IImpersonationManager impersonationManager,
            IUserLinkManager userLinkManager,
            IPasswordHasher <User> passwordHasher,
            IWebUrlService webUrlService,
            IRepository <PERSONALS, string> personalsRepo,
            IRepository <PERSONALS_MEMBER, string> personalsMemberRepo,
            IRepository <TR_Email, string> trEmailRepo
            )
        {
            _userEmailer             = userEmailer;
            _userRegistrationManager = userRegistrationManager;
            _impersonationManager    = impersonationManager;
            _userLinkManager         = userLinkManager;
            _passwordHasher          = passwordHasher;
            _webUrlService           = webUrlService;
            _personalsRepo           = personalsRepo;
            _personalsMemberRepo     = personalsMemberRepo;
            _trEmailRepo             = trEmailRepo;

            AppUrlService      = NullAppUrlService.Instance;
            RecaptchaValidator = NullRecaptchaValidator.Instance;
        }
Exemplo n.º 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)
 {
     _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;
     _identityOptions = identityOptions.Value;
 }
Exemplo n.º 4
0
 public AccountAppService(
     IUserEmailer userEmailer,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     ICaptchaValidator captchaValidator,
     IAppUrlService appUrlService,
     IPasswordHasher <User> passwordHasher,
     ITenantRegistrationAppService tenantRegistrationAppService,
     IVerificationCodeManager verificationCodeManager,
     IUserAccountManager userAccountManager,
     UserManager userManager,
     UserRegistrationManager userRegistrationManager)
 {
     _userEmailer                  = userEmailer;
     _userRegistrationManager      = userRegistrationManager;
     _impersonationManager         = impersonationManager;
     _userLinkManager              = userLinkManager;
     _appUrlService                = appUrlService;
     _captchaValidator             = captchaValidator;
     _passwordHasher               = passwordHasher;
     _tenantRegistrationAppService = tenantRegistrationAppService;
     _verificationCodeManager      = verificationCodeManager;
     _userManager                  = userManager;
     _userAccountManager           = userAccountManager;
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="userRegistrationManager"></param>
 /// <param name="impersonationManager"></param>
 /// <param name="passwordHasher"></param>
 public AccountAppService(
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager,
     IPasswordHasher <User> passwordHasher)
 {
     _userRegistrationManager = userRegistrationManager;
     _impersonationManager    = impersonationManager;
     _passwordHasher          = passwordHasher;
 }
Exemplo n.º 6
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;
 }
Exemplo n.º 7
0
 public AppContextFactory(IAuthenticationManager authenticationManager,
                          IGetOrganisationsByEmailAddressCommand getOrganisationsByEmailAddressCommand,
                          IAppSession session,
                          ICookieManager cookieManager,
                          IGetUserByEmailAddressQuery getUserByEmailAddressQuery)
 {
     _authenticationManager = authenticationManager;
     _getOrganisationsByEmailAddressCommand = getOrganisationsByEmailAddressCommand;
     _session       = session;
     _cookieManager = cookieManager;
     _getUserByEmailAddressQuery = getUserByEmailAddressQuery;
     _impersonationManager       = this;
 }
Exemplo n.º 8
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;
 }
Exemplo n.º 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,
            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;
        }
Exemplo n.º 10
0
 public AccountAppService(
     UserRegistrationManager userRegistrationManager,
     IWebUrlService webUrlService,
     IImpersonationManager impersonationManager,
     IUserEmailer userEmailer,
     IPasswordHasher <User> passwordHasher
     )
 {
     _userRegistrationManager = userRegistrationManager;
     _webUrlService           = webUrlService;
     _impersonationManager    = impersonationManager;
     AppUrlService            = NullAppUrlService.Instance;
     _userEmailer             = userEmailer;
     _passwordHasher          = passwordHasher;
 }
Exemplo n.º 11
0
        public AccountAppService(
            IUserEmailer userEmailer,
            UserRegistrationManager userRegistrationManager,
            IImpersonationManager impersonationManager,
            IUserLinkManager userLinkManager,
            IPasswordHasher <User> passwordHasher)
        {
            _userEmailer             = userEmailer;
            _userRegistrationManager = userRegistrationManager;
            _impersonationManager    = impersonationManager;
            _userLinkManager         = userLinkManager;
            _passwordHasher          = passwordHasher;

            AppUrlService      = NullAppUrlService.Instance;
            RecaptchaValidator = NullRecaptchaValidator.Instance;
        }
Exemplo n.º 12
0
 public AccountAppService(
     UserRegistrationManager userRegistrationManager,
     ICacheManager cacheManager,
     UserManager userManager,
     IImpersonationManager impersonationManager,
     IUserLinkManager userLinkManager,
     IUserEmailer userEmailer
     )
 {
     _userRegistrationManager = userRegistrationManager;
     _cacheManager            = cacheManager;
     _impersonationManager    = impersonationManager;
     _userLinkManager         = userLinkManager;
     _userEmailer             = userEmailer;
     _userManager             = userManager;
 }
Exemplo n.º 13
0
 public AuthenticationController(IAuthenticateUserCommand authenticateUserCommand,
                                 IAuthenticationManager authenticationManager,
                                 ISetPasswordCommand setPasswordCommand,
                                 IResetPasswordCommand resetPasswordCommand,
                                 ICreateOrganisationCommand createOrganisationCommand,
                                 ICookieManager cookieManager,
                                 IImpersonationManager impersonationManager)
 {
     _authenticateUserCommand   = authenticateUserCommand;
     _authenticationManager     = authenticationManager;
     _setPasswordCommand        = setPasswordCommand;
     _resetPasswordCommand      = resetPasswordCommand;
     _createOrganisationCommand = createOrganisationCommand;
     _cookieManager             = cookieManager;
     _impersonationManager      = impersonationManager;
 }
Exemplo n.º 14
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;
 }
Exemplo n.º 15
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;
 }
Exemplo n.º 16
0
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager,
     IImpersonationManager impersonationManager)
 {
     _logInManager              = logInManager;
     _tenantCache               = tenantCache;
     _abpLoginResultTypeHelper  = abpLoginResultTypeHelper;
     _configuration             = configuration;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _impersonationManager      = impersonationManager;
 }
 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;
 }
 public ImpersonationController(IImpersonationManager impersonationManager, IGetUserQuery getUserQuery)
 {
     _impersonationManager = impersonationManager;
     _getUserQuery         = getUserQuery;
 }