mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-11 23:50:07 +01:00
feat: Add support for tonic
Tonic and Axum are quite closely related; From a tower perspective the main difference is in the Error type in the body for their Response. This refactor the code a little bit and add conversions from AuthError to a tonic's Response such that the exact same code can be used by both Axum and tonic services Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
This commit is contained in:
parent
f45568a044
commit
5f3a08c4c7
6 changed files with 547 additions and 257 deletions
715
Cargo.lock
generated
715
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue