Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i passport-ustream

Downloadsweekly downloads

3

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability