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..

Readme

Keywords

none

Package Sidebar

Install

npm i oauth2.js

Weekly Downloads

6

Version

0.0.6

License

none

Last publish

Collaborators

  • lodengo