public SysLoginService(ISysTokenService pTokenService, ISysPermissionService pPermissionservice, ISysLoginRepository pSysLoginRepository, ISysUserRepository _sysUserRepository) { tokenService = pTokenService; permissionservice = pPermissionservice; sysLoginRepository = pSysLoginRepository; sysUserRepository = _sysUserRepository; }
public RoleController(ISysRoleService sysRoleService, IWorkContext workContext, ICategoryService categoryService, ISysPermissionService sysPermissionService) { this._sysRoleService = sysRoleService; this._workContext = workContext; this._categoryService = categoryService; this._sysPermissionService = sysPermissionService; }
public OrdinaryAuthService(IHttpContextAccessor httpContextAccessor, ISysUserService sysUserService, ICategoryService categoryService, ISysUserRoleService sysUserRoleService, ISysPermissionService sysPermissionServices) { this._httpContextAccessor = httpContextAccessor; this._sysUserService = sysUserService; this._categoryService = categoryService; this._sysUserRoleService = sysUserRoleService; this._sysPermissionServices = sysPermissionServices; }
public RoleController(ISysRoleService sysRoleService, ISysCategoryService sysCategoryService, ISysPermissionService sysPermissionService) { this._sysCategoryService = sysCategoryService; this._sysRoleService = sysRoleService; this._sysPermissionService = sysPermissionService; }
public SysLoginController(IHttpContextAccessor phttpContextAccessor, ILogger <SysLoginController> plogger, ISysTokenService pTokenService, ISysLoginService pLoginService, ISysMenuService pMenuService, ISysPermissionService pPermissionService) { logger = plogger; tokenService = pTokenService; loginService = pLoginService; menuService = pMenuService; permissionService = pPermissionService; this.httpContextAccessor = phttpContextAccessor; }
public AdminAuthService(IHttpContextAccessor httpContextAccessor, ISysUserService sysUserService, ICategoryService categoryService, ISysUserRoleService sysUserRoleService, ISysPermissionService sysPermissionService) { _httpContextAccessor = httpContextAccessor; _sysUserService = sysUserService; _categoryService = categoryService; _sysUserRoleService = sysUserRoleService; _sysPermissionService = sysPermissionService; }
public AdminAuthService(IHttpContextAccessor httpContextAccessor, ISysUserService sysUserService, ISysCategoryService sysCategoryService, ISysPermissionService sysPermissionServices, ISysUserRoleService sysUserRoleService) { this._sysPermissionServices = sysPermissionServices; this._sysUserRoleService = sysUserRoleService; this._sysCategoryService = sysCategoryService; this._httpContextAccessor = httpContextAccessor; this._sysUserService = sysUserService; }
public SysRoleService(IMemoryCache memoryCache, IRepository <SysRole> sysRoleRepository, IRepository <SysPermission> sysPermissionRepository, IRepository <SysUserRole> sysUserRoleRepository, ISysPermissionService sysPermissionService) { _memoryCache = memoryCache; _sysRoleRepository = sysRoleRepository; _sysPermissionRepository = sysPermissionRepository; _sysUserRoleRepository = sysUserRoleRepository; _sysPermissionService = sysPermissionService; }
public SysRoleService(IMemoryCache memoryCache, ISysUserRoleService sysUserRoleService, IRepository <Entities.SysRole> sysRoleRepository, IRepository <Entities.SysUserRole> sysUserRoleRepository, ISysPermissionService sysPermissionService, IRepository <Entities.SysPermission> sysPermissionRepository) { this._sysUserRoleService = sysUserRoleService; this._sysPermissionService = sysPermissionService; this._memoryCache = memoryCache; this._sysRoleRepository = sysRoleRepository; this._sysUserRoleRepository = sysUserRoleRepository; this._sysPermissionRepository = sysPermissionRepository; }
public PermissionController(ISysPermissionService sysPermissionService) { _sysPermissionService = sysPermissionService; }
public PermissionController(ISysPermissionService sysPermissionService, ISysModuleService sysModuleService) { _sysPermissionService = sysPermissionService; _sysModuleService = sysModuleService; }
public PermissionAuthorizationHandler(IAuthenticationSchemeProvider schemes, IAspNetUser aspNetUser, ISysPermissionService permissionService) { Schemes = schemes; this.aspNetUser = aspNetUser; this.permissionService = permissionService; }