0.0.1 • Published 11 years ago

crowd-promise v0.0.1

Weekly downloads
4
License
Apache 2.0
Repository
github
Last release
11 years ago

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