jbuck/express-persona — pull request #3 by dgreisen (2012-10-03 02:06:32+00:00)
Title: easy custom responses

verifyResponse is now called to generate the response to the verify
route. Default response is identical to old response. It can now be
overridden in the options.

logoutResponse is now called to generate the response to the logout
route. Default response is identical to old response. It can now be
overridden in the options.

this is useful for people who want to send custom information with their login response (such as user object from database), or for people who already have a front-end that expects a specific format from the server.