oauth2-ccg
v0.0.1
Published
OAuth2 Client Credentials Grant
Downloads
2
Readme
OAuth 2.0 Client Credentials Grant
This module implements getting an auth token from an OAuth 2.0 server following Client Credentials Grant flow.
Installation
$ npm install oauth2-ccg
Usage
require('oauth2-ccg')(config, callback)
, where:
config
is a configuration object (seeconfig-example.js
),callback
is afunction(err, data)
with JSONdata
which is a response from the OAuth 2.0 server.
Dependencies
License
Copyright (c) 2013 Ruslan Bredikhin