Passport strategy for authentication that just checks req.user.
$ npm install passport-requireuser
This is if you want to mix and match basic and local auth. Like if you are making an API and you want people to be able to set the Authorization header or if you want them(or your code) to access the api while logged into a web browser.
Copyright (c) 2014 Wesley Hearn