node-oauth2-provider icon indicating copy to clipboard operation
node-oauth2-provider copied to clipboard

Allow 'save_grant' listener to pass err, extras

Open yhahn opened this issue 11 years ago • 0 comments

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.

yhahn avatar Apr 24 '13 17:04 yhahn