feat: configurable validation (validation: iss, aud, exp, nbf, leeway) (fixes #1) (#4)

This commit is contained in:
cduvray 2023-02-26 20:30:55 +01:00 committed by GitHub
parent 28c7eedcd5
commit 683f932468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 471 additions and 75 deletions

View file

@ -5,11 +5,15 @@ JWT authorizer Layer for Axum.
## Features
- JWT token verification (Bearer)
- Algoritms: ECDSA, RSA, EdDSA, HS
- Algoritms: ECDSA, RSA, EdDSA, HMAC
- JWKS endpoint support
- Configurable refresh
- OpenId Connect Discovery
- Validation
- exp, nbf, iss, aud
- Claims extraction
- Claims checker
- Tracing support (error logging)
## Usage
@ -17,7 +21,7 @@ See documentation of the [`jwt-authorizer`](./jwt-authorizer/docs/README.md) mod
## Development
...
Minimum supported Rust version is 1.65.
## Contributing