New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ldapauth-fork

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldapauth-fork - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

7

lib/ldapauth.d.ts

@@ -1,2 +0,7 @@

/// <reference types="ldapjs"/>
// Type definitions for ldapauth-fork 4.0
// Project: https://github.com/vesse/node-ldapauth-fork
// Definitions by: Vesa Poikajärvi <https://github.com/vesse>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference types="node"/>

@@ -3,0 +8,0 @@

30

lib/ldapauth.js

@@ -0,1 +1,7 @@

var assert = require('assert');
var ldap = require('ldapjs');
var format = require('util').format;
var bcrypt = require('bcryptjs');
var inherits = require('util').inherits;
var EventEmitter = require('events').EventEmitter;
/**

@@ -15,9 +21,4 @@ * Copyright 2011 (c) Trent Mick.

*/
var assert = require('assert');
var ldap = require('ldapjs');
var format = require('util').format;
var bcrypt = require('bcryptjs');
var inherits = require('util').inherits;
var EventEmitter = require('events').EventEmitter;
/**

@@ -27,3 +28,3 @@ * Void callback

* @callback voidCallback
* @param {(Error|undefined)} Possible error
* @param {(Error|undefined)} err - Possible error
*/

@@ -34,4 +35,4 @@ /**

* @callback resultCallback
* @param {(Error|undefined)} Possible error
* @param {(Object|undefined)} Result
* @param {(Error|undefined)} err - Possible error
* @param {(Object|undefined)} res - Result
*/

@@ -43,2 +44,3 @@

*
* @private
* @param {object} obj - Config options

@@ -135,3 +137,3 @@ * @param {string[]} keys - List of keys to look for

*
* @param {errorCallback} callback - Callback
* @param {voidCallback} callback - Callback
* @returns {undefined}

@@ -152,2 +154,3 @@ */

*
* @private
* @param {Error} err - The error to be logged and emitted

@@ -165,2 +168,3 @@ * @returns {undefined}

*
* @private
* @param {voidCallback} callback - Callback that checks possible error

@@ -196,2 +200,3 @@ * @returns {undefined}

*
* @private
* @param {string} searchBase - LDAP search base

@@ -244,2 +249,3 @@ * @param {Object} options - LDAP search options

*
* @private
* @param {string} input - String to sanitize

@@ -261,2 +267,3 @@ * @returns {string} Sanitized string

*
* @private
* @param {string} username - Username to search for

@@ -301,2 +308,3 @@ * @param {resultCallback} callback - Result handling callback. If user is

*
* @private
* @param {Object} user - The LDAP user object

@@ -334,3 +342,3 @@ * @param {resultCallback} callback - Result handling callback

* @param {string} password - The password to verify
* @param {resultCallbac} callback - Result handling callback
* @param {resultCallback} callback - Result handling callback
* @returns {undefined}

@@ -337,0 +345,0 @@ */

{
"name": "ldapauth-fork",
"version": "4.0.0",
"version": "4.0.1",
"main": "./lib/ldapauth.js",

@@ -5,0 +5,0 @@ "types": "./lib/ldapauth.d.ts",

Sorry, the diff of this file is not supported yet

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