passport-coggle-bearer
v0.0.2
Published
HTTP Bearer authentication strategy for Passport.
Downloads
3
Maintainers
Readme
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));
}
));