public StudioXLogInManager( StudioXUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <TUser> passwordHasher, StudioXRoleManager <TRole, TUser> roleManager, StudioXUserClaimsPrincipalFactory <TUser, TRole> claimsPrincipalFactory) { this.passwordHasher = passwordHasher; this.claimsPrincipalFactory = claimsPrincipalFactory; MultiTenancyConfig = multiTenancyConfig; TenantRepository = tenantRepository; UnitOfWorkManager = unitOfWorkManager; SettingManager = settingManager; UserLoginAttemptRepository = userLoginAttemptRepository; UserManagementConfig = userManagementConfig; IocResolver = iocResolver; RoleManager = roleManager; UserManager = userManager; ClientInfoProvider = NullClientInfoProvider.Instance; }
public LogInManager( StudioXUserManager <Role, User> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <Tenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <User> passwordHasher, StudioXRoleManager <Role, User> roleManager, UserClaimsPrincipalFactory claimsPrincipalFactory ) : base( userManager, multiTenancyConfig, tenantRepository, unitOfWorkManager, settingManager, userLoginAttemptRepository, userManagementConfig, iocResolver, passwordHasher, roleManager, claimsPrincipalFactory) { }
/// <summary> /// Constructor. /// </summary> protected PermissionChecker(StudioXUserManager <TRole, TUser> userManager) { this.userManager = userManager; Logger = NullLogger.Instance; StudioXSession = NullStudioXSession.Instance; }
public StudioXUserClaimsPrincipalFactory( StudioXUserManager <TRole, TUser> userManager, StudioXRoleManager <TRole, TUser> roleManager, IOptions <IdentityOptions> optionsAccessor ) : base(userManager, roleManager, optionsAccessor) { }
protected StudioXSignInManager( StudioXUserManager <TRole, TUser> userManager, IAuthenticationManager authenticationManager, ISettingManager settingManager, IUnitOfWorkManager unitOfWorkManager) : base( userManager, authenticationManager) { this.settingManager = settingManager; this.unitOfWorkManager = unitOfWorkManager; }
protected StudioXSignInManager( StudioXUserManager <TRole, TUser> userManager, IHttpContextAccessor contextAccessor, ISettingManager settingManager, IUnitOfWorkManager unitOfWorkManager, IStudioXZeroAspNetCoreConfiguration configuration) { UserManager = userManager; this.contextAccessor = contextAccessor; this.settingManager = settingManager; this.unitOfWorkManager = unitOfWorkManager; this.configuration = configuration; }
public StudioXSignInManager( StudioXUserManager <TRole, TUser> userManager, IHttpContextAccessor contextAccessor, StudioXUserClaimsPrincipalFactory <TUser, TRole> claimsFactory, IOptions <IdentityOptions> optionsAccessor, ILogger <SignInManager <TUser> > logger, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager) : base( userManager, contextAccessor, claimsFactory, optionsAccessor, logger) { this.unitOfWorkManager = unitOfWorkManager; this.settingManager = settingManager; }
protected StudioXLogInManager( StudioXUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, StudioXRoleManager <TRole, TUser> roleManager) { MultiTenancyConfig = multiTenancyConfig; TenantRepository = tenantRepository; UnitOfWorkManager = unitOfWorkManager; SettingManager = settingManager; UserLoginAttemptRepository = userLoginAttemptRepository; UserManagementConfig = userManagementConfig; IocResolver = iocResolver; RoleManager = roleManager; UserManager = userManager; ClientInfoProvider = NullClientInfoProvider.Instance; }