mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-11 23:50:07 +01:00
refactor: JwtAuthorizer creation simplification
This commit is contained in:
parent
9101f91ad8
commit
2c0266b4f8
5 changed files with 40 additions and 38 deletions
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Changed
|
||||
|
||||
- JwtAuthorizer creation simplified:
|
||||
|
||||
- JwtAuthorizer::from_* creates an instance, new() is not necessary anymore
|
||||
|
||||
### Fixed
|
||||
|
||||
- claims extractor (JwtClaims) without authorizer should not panic, should send a 500 error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue