Beispiel #1
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;
        }
Beispiel #2
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;
 }
Beispiel #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,
     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;
 }
Beispiel #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,
     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;
 }