node-jso

0.0.4 • Public • Published

node-jso Build Status

node-jso wraps up the JSO OAuth Library and provides it to Node.js.

Note: Currently this is not a tested wrapper (it may break) and provided is only provided as an example for this StackOverflow question. However, I have added localStorage behavior and $.ajax wrapper and exposed jso.oajax

Rgds....Hoonto/Matt

Usage

npm install node-jso
var jso = require('node-jso');
jso.jso_configure({
    "facebook": {
        client_id: "xxxxxxxxxx",
        redirect_uri: "http://localhost/~andreas/jso/",
        authorization: "https://www.facebook.com/dialog/oauth",
        presenttoken: "qs"
    }
});

Readme

Keywords

none

Package Sidebar

Install

npm i node-jso

Weekly Downloads

2

Version

0.0.4

License

Dual-licenced with The GNU Lesser General Public License, version 2.1 (LGPL-2.1) and version 3.0

Last publish

Collaborators

  • hoonto