v1.0.0
Changelog
New Features
- 5c1120a: feat: Error interface carries additional metadata (@johnabass)
Dependency Updates
- 1dc6042: feat(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.20 to 2.0.21 (#246) (@dependabot[bot])
- 99e6e64: feat(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#244) (@dependabot[bot])
Other Work
- 0ecd852: added BasicAuth function to encoding basic auth strings (@johnabass)
- a4ff780: added access to a token's capabilities via the core package (@johnabass)
- 117ea76: added an Error interface to consistently expose information about failures (@johnabass)
- d75a68c: added stub token parsing support (@johnabass)
- 3546293: allow a generic source type; simplify the credentials parsing (@johnabass)
- b9838df: authenticator workflow (@johnabass)
- 40cbe73: authorizer workflow (@johnabass)
- 81fe05e: avoid embedding jwt.Token; unit tests (@johnabass)
- ede2dbf: basic capabilities support in the API (@johnabass)
- 2c75ebc: defined a listener API for noteworth bascule events (@johnabass)
- d84b604: demonstrate how to access the token from inside a handler (@johnabass)
- 401162f: docs:Update README.md (@schmidtw)
- a287834: ensure Token implements the new AttributesAccessor interface (@johnabass)
- e694ef1: fixed the v1 mod path (@johnabass)
- 93f541a: fully implemented the authorization parsing; fixed middleware example (@johnabass)
- 6ab6dbd: generic authenticator workflow type (@johnabass)
- 02d762f: generic authorization workflow (@johnabass)
- 54f6f82: genericize the source object where tokens are taken from (@johnabass)
- 7d7da18: incorporate the generic source type into validation (@johnabass)
- a5d7a5c: middleware unit tests with conveniences added to the API (@johnabass)
- 4a33b88: pruned event filtering for now (@johnabass)
- 9e6eac1: pruned inaccurate README information (@johnabass)
- 04d0232: refactored challenge API (@johnabass)
- a1d4530: refactored errors to better allow generic error handling (@johnabass)
- 6e7224d: refactored into separate event structs to make genericizing the workflow easier (@johnabass)
- 539a004: refactored the Authorizer API to be consistent with Validator (@johnabass)
- 271ba61: refactored token parsing to remove credentials and simplify the API (@johnabass)
- 7b342c4: refactored validator code to allow access to the source during validation (@johnabass)
- f2b8c69: removed accessor; patched tests; added simple middleware example (@johnabass)
- ecc370c: renamed Attributes for consistency with other parts of the API (@johnabass)
- 4e85cd7: renamed Authorizer to Approver to make room for Authorizer to be our workflow name (@johnabass)
- 8da4fb6: simplified default error marshaler; error unit tests (@johnabass)
- fa87382: simplified token parsing and error handling (@johnabass)
- da69b50: simplified workflow setup for HTTP middleware (@johnabass)
- 4a71b5c: updated middleware to use the genericized workflow from the base package (@johnabass)
- 4bcfc4e: use the new parsing interface (@johnabass)