crowd-promise

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i crowd-promise

Weekly Downloads

2

Version

0.0.1

License

Apache 2.0

Last publish

Collaborators

  • pihvi