Exemplo n.º 1
0
 public UserDelegationAppService(
     IRepository <UserDelegation, long> userDelegationRepository,
     IRepository <User, long> userRepository,
     IUserDelegationManager userDelegationManager,
     IUserDelegationConfiguration userDelegationConfiguration)
 {
     _userDelegationRepository    = userDelegationRepository;
     _userRepository              = userRepository;
     _userDelegationManager       = userDelegationManager;
     _userDelegationConfiguration = userDelegationConfiguration;
 }
Exemplo n.º 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;
 }
 public SecurityStampValidator(
     IOptions <SecurityStampValidatorOptions> options,
     SignInManager signInManager,
     ISystemClock systemClock,
     ILoggerFactory loggerFactory,
     IUserDelegationConfiguration userDelegationConfiguration,
     IUserDelegationManager userDelegationManager,
     PermissionChecker permissionChecker)
     : base(options, signInManager, systemClock, loggerFactory)
 {
     _userDelegationConfiguration = userDelegationConfiguration;
     _userDelegationManager       = userDelegationManager;
     _permissionChecker           = permissionChecker;
 }
Exemplo n.º 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,
     IUserDelegationManager userDelegationManager)
 {
     _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;
     _userDelegationManager  = userDelegationManager;
 }
Exemplo n.º 5
0
        public AccountAppService(
            IUserEmailer userEmailer,
            UserRegistrationManager userRegistrationManager,
            IImpersonationManager impersonationManager,
            IUserLinkManager userLinkManager,
            IPasswordHasher <User> passwordHasher,
            IWebUrlService webUrlService,
            IUserDelegationManager userDelegationManager)
        {
            _userEmailer             = userEmailer;
            _userRegistrationManager = userRegistrationManager;
            _impersonationManager    = impersonationManager;
            _userLinkManager         = userLinkManager;
            _passwordHasher          = passwordHasher;
            _webUrlService           = webUrlService;

            AppUrlService          = NullAppUrlService.Instance;
            RecaptchaValidator     = NullRecaptchaValidator.Instance;
            _userDelegationManager = userDelegationManager;
        }