ammmir/node-oauth2-provider — pull request #32 by yhahn (2013-04-24 17:15:54+00:00)
Title: Allow 'save_grant' listener to pass err, extras

Adds arguments to 'save_grant' event callback:

- `err` for any errors that occurred while saving the grant.
- `extras`, optional, overrides the default `extras` generated by oauth2-provider. For example, allows implementing modules to use their own grant code.