yuri-karadzhov/passport-hash — pull request #1 by fabien (2012-09-17 07:12:32+00:00)
Title: Use req.param() and check http headers

I'm not sure if passport-hash is meant to be used with Connect only, but in my setup I needed to use the Express methods instead - req.params[] wasn't working for my routing/API design. Unlike the current example, my app needs to grant API access through either a supplied hash (query param or X-Auth-Hash header) or basic authentication.