clever-oauth-token
Retrieve an OAuth token from Clever (http://www.clever.com)
Last updated 6 years ago by ashaffer88 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install clever-oauth-token 
SYNC missed versions from official npm registry.

clever-oauth-token

Exchange a Clever oauth code for an access token.

Usage

var cleverToken = require('clever-oauth-token')(cleverClientId, cleverClientSecret);

cleverToken({
  code: code,
  redirect_uri: redirect_uri,
  grant_type: 'authorization_code'  // optional
}, function(err, access_token) {

});

Mock Endpoints

var cleverToken = require('clever-oauth-token')(
  cleverClientId,
  cleverClientSecret,
  'http://mock-oauth-endpoint/oauth/tokens'
);

Current Tags

  • 0.1.5                                ...           latest (6 years ago)

5 Versions

  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |