Created
August 10, 2015 06:11
-
-
Save omerlh/415ef7efceaa4787dc23 to your computer and use it in GitHub Desktop.
pass bunyan log instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var options = { | |
log: log | |
}; | |
var bearerStategy = new BearerStrategy(options, | |
function(token, done) { | |
return done(null, token); | |
}); | |
passport.use(bearerStategy); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment