- Fixed TS export to model CommonJS
- Added support for a custom user key (
customUserKey
) - Added TypeScript definitions
- Added support for a custom scope key (
customScopeKey
)
- Added support for array scopes
- Added option
checkAllScopes
to check that all the required scopes are allowed
- Add
WWW-Authenticate
header when authentication fails
- Added option
failWithError
to call next() when scope is insufficient
- Fix express deprecation of
res.send
- Added
express@^4.0.0
as a peer dependency
- Initial Commit