coggle-passport-bearer

0.0.1 • Public • Published

coggle-auth-bearer

Usage:

var conf = require('./config');
var passport = require('passport');
var CoggleBearerStrategy = require('coggle-auth-bearer').Strategy;
var User = require('./models/User');

passport.use(new CoggleBearerStrategy({},
  function(profile, done) {
  	done(false, new User(profile));
  }
));

Package Sidebar

Install

npm i coggle-passport-bearer

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • headlessme