public AbpLogInManager(
            AbpUserManager <TRole, TUser> userManager,
            IMultiTenancyConfig multiTenancyConfig,
            IRepository <TTenant> tenantRepository,
            IUnitOfWorkManager unitOfWorkManager,
            ISettingManager settingManager,
            IRepository <UserLoginAttempt, long> userLoginAttemptRepository,
            IUserManagementConfig userManagementConfig,
            IIocResolver iocResolver,
            IPasswordHasher <TUser> passwordHasher,
            AbpRoleManager <TRole, TUser> roleManager,
            AbpUserClaimsPrincipalFactory <TUser, TRole> claimsPrincipalFactory)
        {
            _passwordHasher            = passwordHasher;
            _claimsPrincipalFactory    = claimsPrincipalFactory;
            MultiTenancyConfig         = multiTenancyConfig;
            TenantRepository           = tenantRepository;
            UnitOfWorkManager          = unitOfWorkManager;
            SettingManager             = settingManager;
            UserLoginAttemptRepository = userLoginAttemptRepository;
            UserManagementConfig       = userManagementConfig;
            IocResolver = iocResolver;
            RoleManager = roleManager;
            UserManager = userManager;

            ClientInfoProvider = NullClientInfoProvider.Instance;
        }
Esempio n. 2
0
 protected AbpSignInManager(
     AbpUserManager <TRole, TUser> userManager,
     IHttpContextAccessor contextAccessor,
     AbpUserClaimsPrincipalFactory <TUser, TRole> claimsFactory,
     IOptions <IdentityOptions> optionsAccessor,
     ILogger <SignInManager <TUser> > logger,
     IUnitOfWorkManager unitOfWorkManager,
     ISettingManager settingManager)
     : base(
         userManager,
         contextAccessor,
         claimsFactory,
         optionsAccessor,
         logger)
 {
     _unitOfWorkManager = unitOfWorkManager;
     _settingManager    = settingManager;
 }
Esempio n. 3
0
 public AbpSignInManager(
     AbpUserManager <TRole, TUser> userManager,
     IHttpContextAccessor contextAccessor,
     AbpUserClaimsPrincipalFactory <TUser, TRole> claimsFactory,
     IOptions <IdentityOptions> optionsAccessor,
     ILogger <SignInManager <TUser> > logger,
     IUnitOfWorkManager unitOfWorkManager,
     ISettingManager settingManager,
     IAuthenticationSchemeProvider schemes)
     : base(
         userManager,
         contextAccessor,
         claimsFactory,
         optionsAccessor,
         logger,
         schemes)
 {
     _unitOfWorkManager = unitOfWorkManager;
     _settingManager    = settingManager;
 }