예제 #1
0
        public AccountController(IdentityUserManager userManager,
                                 IConfiguration configuration,
                                 ICurrentTenant currentTenant,
                                 IdentityRoleManager roleManager,
                                 IOptions <AbpAspNetCoreMultiTenancyOptions> options,
                                 IProfileAppService profileAppService,
                                 IRepository <IdentityUser> identityUser,
                                 IIdentityRoleAppService roleAppService,
                                 IIdentityUserAppService userAppService,
                                 IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider,
                                 IAbpAuthorizationService authorizationService,
                                 IRepository <PermissionGrant> permissionGrant,
                                 IPermissionDefinitionManager permissionDefinitionManager,
                                 IRepository <IdentityRole> identityRole,
                                 Microsoft.AspNetCore.Identity.UserManager <IdentityUser> Uu
                                 )
        {
            _userManager   = userManager;
            _Uu            = Uu;
            _currentTenant = currentTenant;
            _aspNetCoreMultiTenancyOptions = options.Value;
            _configuration     = configuration;
            _profileAppService = profileAppService;
            _roleAppService    = roleAppService;
            _userAppService    = userAppService;
            _abpAuthorizationPolicyProvider = abpAuthorizationPolicyProvider;
            _authorizationService           = authorizationService;
            _permissionDefinitionManager    = permissionDefinitionManager;
            _permissionGrant = permissionGrant;
            _identityUser    = identityUser;
            _identityRole    = identityRole;

            _roleManager = roleManager;
        }
예제 #2
0
 public ClientDemoService(
     IIdentityUserAppService userAppService,
     IIdentityModelHttpClientAuthenticator authenticator)
 {
     _userAppService = userAppService;
     _authenticator  = authenticator;
 }
예제 #3
0
 public EditModalModel(IIdentityUserAppService identityUserAppService,
                       IUserDepartmentAppService userDepartmentAppService,
                       IDepartmentAppService departmentAppService)
 {
     IdentityUserAppService   = identityUserAppService;
     UserDepartmentAppService = userDepartmentAppService;
     DepartmentAppService     = departmentAppService;
 }
예제 #4
0
 public ListModel(IJsonSerializer jsonSerializer, IRepository <DictionaryValue, Guid> dictionaryValuesRepo, IWebHostEnvironment webHostEnvironment, IAuditLogRepository auditLogsRepo, IIdentityUserAppService identityUserAppService)
 {
     JsonSerializer          = jsonSerializer;
     DictionaryValuesRepo    = dictionaryValuesRepo;
     this.webHostEnvironment = webHostEnvironment;
     AuditLogsRepo           = auditLogsRepo;
     IdentityUserAppService  = identityUserAppService;
 }
예제 #5
0
 public UserController(IIdentityUserAppService userAppService,
                       IProfileAppService profileAppService,
                       IIdentityUserRepository userRepository,
                       IdentityUserManager userManager) : base(userAppService)
 {
     ProfileAppService = profileAppService;
     UserRepository    = userRepository;
     UserManager       = userManager;
 }
예제 #6
0
        public OrganizationUnitAppService(
            OrganizationUnitManager unitManager,
            IOrganizationUnitRepository unitRepository,
            IIdentityUserAppService userAppService,
            IIdentityRoleAppService roleAppService,
            IDistributedCache <OrganizationUnitDto> cache,
            IDistributedCache <ListResultDto <OrganizationUnitDto> > cacheList,
            IDistributedCache <PagedResultDto <OrganizationUnitDto> > cachePage
            )
        {
            UnitManager    = unitManager;
            UnitRepository = unitRepository;
            UserAppService = userAppService;
            RoleAppService = roleAppService;


            _cache     = cache;
            _cacheList = cacheList;
            _cachePage = cachePage;
        }