0.3.0 • Published 10 years ago

oauth2request v0.3.0

Weekly downloads
33
License
-
Repository
-
Last release
10 years ago

OAuth2Request Build Status

Wrapper for Request JS with OAuth2 Client Flow

Getting Started

Install the module with: npm install oauth2request

    var oauth2request = require('oauth2request');
    
    var request = oauth2request.create({
        client_id : '<client_id>',
        client_secret : '<client_secret>',
        scope : '<scope>',
        oauth_token_url : 'https://<token_url>'
    });

    request.post('http://<post_url>',
        {
            body: JSON.stringify(<json object>)
        },
        function (e, r, body) {
            if (body != undefined) {
                var entry = JSON.parse(body);
                console.log(entry);
            }
        });


## Documentation
_(Coming soon)_

## Examples
_(Coming soon)_


## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
_(Nothing yet)_

## License
Copyright (c) 2014 DINHDUY TRAN. Licensed under the MIT license.
0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago