psuauth
v0.0.4
Published
LDAP Authentication module for Penn State web applications
Downloads
6
Maintainers
Readme
psuauth
JavaScript authentication module for Penn State (LDAP)
Environment:
node version: 0.12.7 npm version: 2.11.3
Please refer to 'package.json' for packages versions.
Install
npm install psuauth
(Please ignore the error messages during installation. It should be caused by ldapjs package.)
Example
var psuauth = require('psuauth');
var Q = require('q');
psuauth('', '') // first argument is username, secone argument is password
.then(function(info) {
console.log(info);
})
.fail(function(err) {
console.log(err);
});