thomseddon/node-oauth2-server — pull request #132 by memelet (2014-12-31 12:12:00+00:00)
Title: Pass the mode.generateToken function the grant as its first argument

This is to address https://github.com/thomseddon/node-oauth2-server/issues/131.

Pass the mode.generateToken function the grant as its first argument instead of just the grant.req. This allows for JWT generators to have access to the user and client for populating claims.