1.1.3 • Published 10 years ago

s5 v1.1.3

Weekly downloads
18
License
BSD-2-Clause
Repository
github
Last release
10 years ago

s5.js

s5 is the StudentRND Service Single Sign-On System. Here's the node module to interact with it.

Installation

npm install s5

Examples

var s5 = require('s5');

// Create an s5 instance with your API credentials
var sso = new s5("YOUR_API_KEY", "YOUR_API_SECRET");

// Get the OAuth URI with extended privileges
sso.getOAuthURI("http://example.com/oauth/s5", "extended");

// Exchange the provided code for an access token
sso.exchangeCode(code, callback);

// Get a user
sso.getUser("tjhorner", callback);

// Get user from access token
sso.me(accessToken, callback);
1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago