crowd-promise

Crowd user authentication Promise wrapper

npm install crowd-promise
4 downloads in the last month

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

npm loves you