protected AbpUserManager( AbpUserStore <TRole, TUser> userStore, AbpRoleManager <TRole, TUser> roleManager, IRepository <TTenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository, IOrganizationUnitSettings organizationUnitSettings, IRepository <UserLoginAttempt, long> userLoginAttemptRepository) : base(userStore) { AbpStore = userStore; RoleManager = roleManager; SettingManager = settingManager; _tenantRepository = tenantRepository; _multiTenancyConfig = multiTenancyConfig; _permissionManager = permissionManager; _unitOfWorkManager = unitOfWorkManager; _userManagementConfig = userManagementConfig; _iocResolver = iocResolver; _cacheManager = cacheManager; _organizationUnitRepository = organizationUnitRepository; _userOrganizationUnitRepository = userOrganizationUnitRepository; _organizationUnitSettings = organizationUnitSettings; _userLoginAttemptRepository = userLoginAttemptRepository; LocalizationManager = NullLocalizationManager.Instance; AbpSession = NullAbpSession.Instance; }
public UserManager( UserStore store, RoleManager roleManager, IRepository <Tenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager) : base( store, roleManager, tenantRepository, multiTenancyConfig, permissionManager, unitOfWorkManager, settingManager, userManagementConfig, iocResolver, cacheManager ) { }
protected HozaruUserManager( HozaruUserStore <TTenant, TRole, TUser> userStore, HozaruRoleManager <TTenant, TRole, TUser> roleManager, IRepository <TTenant, int> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository, IOrganizationUnitSettings organizationUnitSettings) : base(userStore) { HozaruStore = userStore; RoleManager = roleManager; SettingManager = settingManager; _tenantRepository = tenantRepository; _multiTenancyConfig = multiTenancyConfig; _permissionManager = permissionManager; _unitOfWorkManager = unitOfWorkManager; _userManagementConfig = userManagementConfig; _iocResolver = iocResolver; _cacheManager = cacheManager; _organizationUnitRepository = organizationUnitRepository; _userOrganizationUnitRepository = userOrganizationUnitRepository; _organizationUnitSettings = organizationUnitSettings; //LocalizationManager = NullLocalizationManager.Instance; }
public LogInManager( UserManager userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <Tenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <User> passwordHasher, RoleManager roleManager, UserClaimsPrincipalFactory claimsPrincipalFactory) : base( userManager, multiTenancyConfig, tenantRepository, unitOfWorkManager, settingManager, userLoginAttemptRepository, userManagementConfig, iocResolver, passwordHasher, roleManager, claimsPrincipalFactory) { }
public CodeZeroLogInManager( CodeZeroUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <TUser> passwordHasher, CodeZeroRoleManager <TRole, TUser> roleManager, CodeZeroUserClaimsPrincipalFactory <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 UserManager( UserStore store, RoleManager roleManager, IRepository <Tenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository, IOrganizationUnitSettings organizationUnitSettings ) : base( store, roleManager, tenantRepository, multiTenancyConfig, permissionManager, unitOfWorkManager, settingManager, userManagementConfig, iocResolver, cacheManager, organizationUnitRepository, userOrganizationUnitRepository, organizationUnitSettings) { }
protected AbpUserManager( AbpUserStore <TTenant, TRole, TUser> userStore, AbpRoleManager <TTenant, TRole, TUser> roleManager, IRepository <TTenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager) : base(userStore) { AbpStore = userStore; RoleManager = roleManager; SettingManager = settingManager; _tenantRepository = tenantRepository; _multiTenancyConfig = multiTenancyConfig; _permissionManager = permissionManager; _unitOfWorkManager = unitOfWorkManager; _userManagementConfig = userManagementConfig; _iocResolver = iocResolver; _userPermissionCache = cacheManager.GetUserPermissionCache(); LocalizationManager = NullLocalizationManager.Instance; }
//public ILanguageManagementConfig LanguageManagement //{ // get { return _languageManagement; } //} //private readonly ILanguageManagementConfig _languageManagement; public OwMembershipConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig) //ILanguageManagementConfig languageManagement) { _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; // _languageManagement = languageManagement; }
public AbpZeroConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, ILanguageManagementConfig languageManagement) { _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; _languageManagement = languageManagement; }
public JTConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, IJTEntityTypes entityTypes) { _entityTypes = entityTypes; _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; }
//public ILanguageManagementConfig LanguageManagement //{ // get { return _languageManagement; } //} //private readonly ILanguageManagementConfig _languageManagement; public HozaruIdentityConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig /*ILanguageManagementConfig languageManagement*/) { _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; //_languageManagement = languageManagement; }
public AbpZeroConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, ILanguageManagementConfig languageManagement, IAbpZeroEntityTypes entityTypes) { _entityTypes = entityTypes; _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; _languageManagement = languageManagement; }
/// <summary> /// 构造函数 /// </summary> /// <param name="roleManagementConfig">角色管理配置</param> /// <param name="userManagementConfig">用户管理配置</param> /// <param name="languageManagement">语言管理配置</param> /// <param name="entityTypes">实体类型</param> public AbpZeroConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, ILanguageManagementConfig languageManagement, IAbpZeroEntityTypes entityTypes) { _entityTypes = entityTypes; _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; _languageManagement = languageManagement; }
public StudioXZeroConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, ILanguageManagementConfig languageManagement, IStudioXZeroEntityTypes entityTypes) { this.entityTypes = entityTypes; this.roleManagementConfig = roleManagementConfig; this.userManagementConfig = userManagementConfig; this.languageManagement = languageManagement; }
public CommonFrameConfig( IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig, ILanguageManagementConfig languageManagement, ICommonFrameEntityTypes entityTypes) { _entityTypes = entityTypes; _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; _languageManagement = languageManagement; }
public LogInManager( UserManager userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <Tenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, RoleManager roleManager) : base(userManager, multiTenancyConfig, tenantRepository, unitOfWorkManager, settingManager, userLoginAttemptRepository, userManagementConfig, iocResolver, roleManager) { }
protected LogInManager( UserManager <TRole, TUser> userManager, IUserManagementConfig userManagementConfig, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IRepositoryContext repositoryContext, RoleManager <TRole, TUser> roleManager) { UserLoginAttemptRepository = userLoginAttemptRepository; _repositoryContext = repositoryContext; RoleManager = roleManager; UserManager = userManager; UserManagementConfig = userManagementConfig; ClientInfoProvider = NullClientInfoProvider.Instance; }
public UserManager( UserStore store, RoleManager roleManager, EmailService emailService, IRepository <Tenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IUserTokenProvider <User, long> userTokenProvider, ICacheManager cacheManager) : base( store, roleManager, tenantRepository, multiTenancyConfig, permissionManager, unitOfWorkManager, settingManager, userManagementConfig, iocResolver, cacheManager ) { this.EmailService = emailService; //RegisterTwoFactorProvider("PhoneCode",new PhoneNumberTokenProvider<User,long>() //{ // MessageFormat = "your code is {0}" //}); //RegisterTwoFactorProvider("EmailCode", new EmailTokenProvider<User, long>() //{ // Subject = "securiyCode", // BodyFormat = "your code is {0}" //}); //UserTokenProvider = new EmailTokenProvider<User, long>() //{ // Subject = "securiyCode", // BodyFormat = "your code is {0}" //}; //IUserSecurityStampStore<> UserTokenProvider = userTokenProvider; }
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; }
protected AbpLogInManager( AbpUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, AbpRoleManager <TRole, TUser> roleManager) { MultiTenancyConfig = multiTenancyConfig; TenantRepository = tenantRepository; UnitOfWorkManager = unitOfWorkManager; SettingManager = settingManager; UserLoginAttemptRepository = userLoginAttemptRepository; UserManagementConfig = userManagementConfig; IocResolver = iocResolver; RoleManager = roleManager; UserManager = userManager; ClientInfoProvider = NullClientInfoProvider.Instance; }
public LogInManager( CommonFrameUserManager <TRole, TUser> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <TTenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IRepository <UserLoginAttempt, long> userLoginAttemptRepository, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, CommonFrameRoleManager <TRole, TUser> roleManager) { _multiTenancyConfig = multiTenancyConfig; _tenantRepository = tenantRepository; _unitOfWorkManager = unitOfWorkManager; _settingManager = settingManager; _userLoginAttemptRepository = userLoginAttemptRepository; _userManagementConfig = userManagementConfig; _iocResolver = iocResolver; _roleManager = roleManager; _userManager = userManager; ClientInfoProvider = NullClientInfoProvider.Instance; }
public UserManager( UserStore store, RoleManager roleManager, IRepository <Tenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver) : base( store, roleManager, tenantRepository, multiTenancyConfig, permissionManager, unitOfWorkManager, settingManager, userManagementConfig, iocResolver) { _userStore = store; //ClaimsIdentityFactory = new ClaimsFactory(); }
public BlogUserManager( BlogUserStore store, BlogRoleManager blogRoleManager, ISampleBlogRepository <BlogTenant> tenantRepository, IMultiTenancyConfig multiTenancyConfig, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, ICacheManager cacheManager) : base( store, blogRoleManager, tenantRepository, multiTenancyConfig, permissionManager, unitOfWorkManager, settingManager, userManagementConfig, iocResolver, cacheManager) { }
public AbpZeroConfig(IRoleManagementConfig roleManagementConfig, IUserManagementConfig userManagementConfig) { _roleManagementConfig = roleManagementConfig; _userManagementConfig = userManagementConfig; }
public LogInManager(AbpUserManager <Role, User> userManager, IMultiTenancyConfig multiTenancyConfig, IRepository <Tenant> tenantRepository, IUnitOfWorkManager unitOfWorkManager, ISettingManager settingManager, IUserManagementConfig userManagementConfig, IIocResolver iocResolver, IPasswordHasher <User> passwordHasher, AbpRoleManager <Role, User> roleManager, AbpUserClaimsPrincipalFactory <User, Role> claimsPrincipalFactory, IRepository <ShaUserLoginAttempt, Guid> shaLoginAttemptRepository, IRepository <MobileDevice, Guid> mobileDeviceRepository) : base(userManager, multiTenancyConfig, tenantRepository, unitOfWorkManager, settingManager, userManagementConfig, iocResolver, passwordHasher, roleManager, claimsPrincipalFactory, shaLoginAttemptRepository, mobileDeviceRepository) { }