express-basic-auth
express-basic-auth copied to clipboard
add support for Promise-based authorizers
This PR does a couple of things (very happy to split of course)
- improves support for errors occurring in synchronous and asynchronous authorizers
- allows authorizers to return promises of true/false.