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

    passport-ustreampublic

    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

    1

    version

    0.0.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar