simple-oauth2-promise
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "simple-oauth2-promise", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Node.js client for OAuth2 with a promise based api", | ||
@@ -5,0 +5,0 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>", |
@@ -1,3 +0,2 @@ | ||
[![Build Status](https://travis-ci.org/andreareginato/simple-oauth2.svg?branch=master)](https://travis-ci.org/andreareginato/simple-oauth2) | ||
[![Dependency Status](https://gemnasium.com/andreareginato/simple-oauth2.svg)](https://gemnasium.com/andreareginato/simple-oauth2) | ||
[![Build Status](https://travis-ci.org/jonathansamines/simple-oauth2.svg)](https://travis-ci.org/jonathansamines/simple-oauth2) | ||
@@ -26,7 +25,7 @@ # Simple OAuth2 | ||
$ npm install simple-oauth2 | ||
$ npm install simple-oauth2-promise | ||
Install the client library using git: | ||
$ git clone git://github.com/andreareginato/simple-oauth2.git | ||
$ git clone git://github.com/jonathansamines/simple-oauth2.git | ||
$ cd simple-oauth2 | ||
@@ -44,3 +43,3 @@ $ npm install | ||
var oauth2 = require('simple-oauth2')({ | ||
var oauth2 = require('simple-oauth2-promise')({ | ||
clientID: CLIENT_ID, | ||
@@ -107,3 +106,3 @@ clientSecret: CLIENT_SECRET, | ||
// Initialize the OAuth2 Library | ||
var oauth2 = require('simple-oauth2')(credentials); | ||
var oauth2 = require('simple-oauth2-promise')(credentials); | ||
@@ -177,3 +176,3 @@ // Authorization oauth2 URI | ||
// Initialize the OAuth2 Library | ||
var oauth2 = require('simple-oauth2')(credentials); | ||
var oauth2 = require('simple-oauth2-promise')(credentials); | ||
@@ -274,3 +273,3 @@ // Get the access token object for the client | ||
// Initialize the OAuth2 Library | ||
var oauth2 = require('simple-oauth2')(credentials); | ||
var oauth2 = require('simple-oauth2-promise')(credentials); | ||
``` | ||
@@ -299,14 +298,4 @@ | ||
## Feedback | ||
Use the [issue tracker](http://github.com/jonathansamines/simple-oauth2/issues) for bugs. | ||
Use the [issue tracker](http://github.com/andreareginato/simple-oauth2/issues) for bugs. | ||
[Mail](mailto:andrea.reginato@.gmail.com) or [Tweet](http://twitter.com/andreareginato) us | ||
for any idea that can improve the project. | ||
## Links | ||
* [GIT Repository](http://github.com/andreareginato/simple-oauth2) | ||
* [Documentation](http://andreareginato.github.com/simple-oauth2) | ||
## Authors | ||
@@ -319,3 +308,3 @@ | ||
Special thanks to the following people for submitting patches. | ||
[Jonathan Samines](http://twitter.com/jonathansamines) | ||
@@ -325,3 +314,3 @@ | ||
See [CHANGELOG](https://github.com/andreareginato/simple-oauth2/blob/master/CHANGELOG.md) | ||
See [CHANGELOG](https://github.com/jonathansamines/simple-oauth2/blob/master/CHANGELOG.md) | ||
@@ -328,0 +317,0 @@ |
30351
315