oauth2.js

0.0.6 • Public • Published

oauth2.js node js client lib for oauth2 use with express

usage: npm install config setting.js node app

///////////

OAuth2.js method:

route(app): route authorize Redirect url and callback

setAuthorizationCallback(callback): set the callback of when Authorized

obtainingAuthorization(req, res, params): OAuth2 obtaining Authorization

accessProtectedResource(req, res, method, url, params, callback): access Protected Resource

enjoy..

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    2
    • latest

Version History

Package Sidebar

Install

npm i oauth2.js

Weekly Downloads

9

Version

0.0.6

License

none

Last publish

Collaborators

  • lodengo