mountain-device/easyauth — pull request #106 by ryojiosawa (2014-10-24 19:27:08+00:00)
Title: Add auth token utility methods

This pull request contains the following changes:

- add error handler middleware
- add sendResponse method which generates a JWT token using User object and sends a response
- add checkAuthToken method which is used to extract JWT token from the header and decodes it to User object. This utility should be used within the auth module's auth logic.

@krulwich, @suprbh, @ceg1236 - please review.