1.1.3 • Published 9 years ago

s5 v1.1.3

Weekly downloads
18
License
BSD-2-Clause
Repository
github
Last release
9 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

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.1

9 years ago