passport-ustream

0.0.2 • Public • Published

passport-ustream Circle CI

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
    ...
  }
));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i passport-ustream

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • superpan