node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

crowd-promise

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