refactor: JwtAuthorizer creation simplification

This commit is contained in:
cduvray 2023-01-23 23:36:29 +01:00
parent 9101f91ad8
commit 2c0266b4f8
5 changed files with 40 additions and 38 deletions

View file

@ -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