Skip to content
Pre-release

@rudolfolah rudolfolah released this Apr 22, 2016 · 67 commits to master since this release

Implemented

  • support for promises using bluebird (completely optional to use!) #4
  • PATCH method for OAuth1 and OAuth2 #11
  • changing to GPL v3 (files have copyright/license notices) #3
  • examples of using promises #4 #2

In Progress

  • Updating readme #2
  • Updating examples for github auth, google auth, twitter auth #2

How To Install And Use

The promises support needs real-world usage and testing to get rid of any kinks.

Install like this:

npm install git+https://github.com/omouse/node-oauth-libre.git#0.9.15-alpha

Then import it into your code:

var OAuth = require('oauth-libre').PromiseOAuth;
var OAuth2 = require('oauth-libre').PromiseOAuth2;

var oauthClient = new OAuth(...);
var oauth2Client = new OAuth2(...);

Check out the examples here

Assets 2
You can’t perform that action at this time.