public JTLogInManager( JTUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <JTUserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <TUser> passwordHasher, JTRoleManager <TRole, TUser> roleManager, JTUserClaimsPrincipalFactory <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; }
public JTSignInManager( JTUserManager <TRole, TUser> userManager, IHttpContextAccessor contextAccessor, JTUserClaimsPrincipalFactory <TUser, TRole> claimsFactory, IOptions <IdentityOptions> optionsAccessor, ILogger <SignInManager <TUser> > logger, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IAuthenticationSchemeProvider schemes, IUserConfirmation <TUser> userConfirmation) : base( userManager, contextAccessor, claimsFactory, optionsAccessor, logger, schemes, userConfirmation) { _unitOfWorkManager = unitOfWorkManager; _settingManager = settingManager; }