express-jwt-authz with Restify support

Per the suggestion by @adamjmcgrath, express-jwt-authz has been forked to support restify.



Pretty basic change to support Restify's response object. Currently I'm using restify with express-jwt and express-jwt-authz but ran into a failure when scope is unexpected:

TypeError: res.append is not a function

Obviously this is because of the difference in Express and Restify's response object functions. Otherwise I haven't run into issues and it would be great to continue using these libraries.

Validate a JWTs scope to authorize access to an endpoint

Privacy | Terms