- Ensure
getBasicAuthorizationCredentials()
is synchronous.
- Add
getBasicAuthorizationCredentials()
helper for parsing "Authorization: Basic " from a request.
- Add
checkTargetScopedAccessToken()
to enable commonly used oauth scope pattern based on request's target resource. - Allow custom
typ
claim for access tokens.
- Use
...cache.peek(key)
in cache record rotation management code to avoid extending record TTL when not actually accessing cache for use. - Update dependencies.
- Add optional
jwt
param to allow passing a JWT directly tocheckAccessToken
.
- Simplify cache rotation promise code.
- Fix unhandled promise rejection that could arise from fetching an uncached issuer config.
- BREAKING: Drop support for Node.js < 18.
- Use
@digitalbazaar/http-client@4
. This version required Node.js 18+.
- Fix unhandled promise rejection that could occur during issuer config rotation.
- Add missing dependencies
@digitalbazaar/[email protected]
and[email protected]
. - Remove unused deps
@digitalbazaar/http-client
,klona
andsinon
from test.
- See git history for changes.