mattupstate/flask-jwt — pull request #7 by kekssw (2014-03-22 11:29:52+00:00)
Title: Added a hook for custom response handlers

Thank you very much for releasing this highly customizable extension. I found it's possible to improve it even further by providing overridable response handler.

Typically response content is application-specific, and may contain token parameter with the name other than "token", and/or expose additional fields: user ID, account type, etc. (both is true in my case).