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

@ttgint/fastify-ldap-service

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ttgint/fastify-ldap-service

A plugin for auth using LDAP service

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ttgint/fastify-ldap-service

JavaScript Style Guide Build Status

Install

npm install --save @ttgint/fastify-ldap-service

Usage

fastify.register(require('@ttgint/fastify-ldap-service'), { provider: 'https://post/endpoint' })

then

const result = await fastify.ldap(username, password)

will send your username and password as a POST request to the provided url and return the result.

For testing purposes you can also use a custom function as the provider such as

fastify.register(require('@ttgint/fastify-ldap-service'), { provider: () => ({ name: 'dummy', department: 'test' }) })

License

MIT

FAQs

Package last updated on 15 Jan 2019

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