jaredhanson/passport-oauth — pull request #5 by mugami-ast (2012-04-20 13:01:28+00:00)
Title: Pass the request to the verify callback

Pass the request on as the 5th parameter, unfortunately after the "done"
callback declaration in order to maintain backwards compatibility.

Adds support for more complex verifiers, that require
access to a session, currently logged in user, etc.

In my case I need access to req.user to see which user I should associate the token(s) with, since I need to support each user hooking up to several remote accounts.