public SmdLogInManager( SmdUserManager <TRole, TUser> userManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IPasswordHasher <TUser> passwordHasher, SmdRoleManager <TRole, TUser> roleManager, SmdUserClaimsPrincipalFactory <TUser, TRole> claimsPrincipalFactory) { _passwordHasher = passwordHasher; _claimsPrincipalFactory = claimsPrincipalFactory; SettingManager = settingManager; UserLoginAttemptRepository = userLoginAttemptRepository; UserManagementConfig = userManagementConfig; RoleManager = roleManager; UserManager = userManager; // ClientInfoProvider = NullClientInfoProvider.Instance; }
public SmdSignInManager( SmdUserManager <TRole, TUser> userManager, IHttpContextAccessor contextAccessor, SmdUserClaimsPrincipalFactory <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; }