Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ldap-graphql

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldap-graphql

Schema-aware binding between LDAP and Graphql

  • 0.11.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Graphql binding for LDAP server

Goal

Battery included, Schema-aware binding between LDAP and Graphql

How to use it

import { initial } from "ldap-graphql";
const connectionInfo = {
  baseDN: "DC=DOMAIN,DC=COM",
  user: "",
  pass: "",
  ldapServerUrl: "",
};

initial({ connectionInfo }).then(({ url }) => {
  console.log(`Server started on ${url}`);
});

Documentation

Schema API Docs

Module Code Docs

TODO:

  • extend pre-defined schema and resolvers via custom code
  • ability to re-generate schema and update pre-defined schemas
  • option to change default schema generated output directory
  • option to run server on different port
  • general graphql queries
    • userGetAll
    • userUpdate
    • getByDn(dn: String!) // can fetch any entry
    • adEntryCountryUpdate(input: AdEntryCountryUpdateInput!): GeneralEntry
      • update 3 fields(c, co, countryCode) at same time
    • entryUpdate
    • entryDelete
    • entryAdd
    • getOUs(baseDn: String)
    • getDirectChildren(dn: String!) // one level search

Keywords

FAQs

Package last updated on 17 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc