passport-ustream
v0.0.2
Published
passport plugin for ustream oath2
Downloads
6
Maintainers
Readme
passport-ustream
passport oath2.0 plugin for ustream
Passport strategy for authenticating with Ustream using the OAuth 2.0 API.
Install
npm install passport-ustream
Usage
####Configure Strategy
var UstreamStrategy = require('passport-ustream').Strategy;
passport.use(new UstreamStrategy({
clientID: 'ABC123',
callbackURL: "http://127.0.0.1:3000/auth/ustream/callback"
},
function(accessToken, refreshToken, profile, done) {
// find that user
...
}
));