crowd-promise
v0.0.1
Published
Crowd user authentication Promise wrapper
Readme
A node.js module for authenticating user against Atlassian Crowd wrapped in a Promise.
Usage
var CrowdPromise = require('crowd-promise')
var crowd = new CrowdPromise(corwdBaseURL, crowdAppName, crowdAppPwd)
var authPromise = crowd.authenticate(username, password)
authPromise.then(function(res) {
console.log('User email:', res.email)
}, function(err) {
console.log('Authentication error:', err)
})License
Apache 2.0
