server: Add a extractor for the authenticated user

This commit is contained in:
traxys 2023-05-28 20:58:39 +02:00
parent f50d7c1076
commit 66249a5e82
3 changed files with 78 additions and 4 deletions

View file

@ -9,7 +9,7 @@ members = [".", "api", "app", "migration"]
[dependencies]
anyhow = "1.0.71"
axum = "0.6.18"
axum = { version = "0.6.18", features = ["headers"] }
base64 = "0.21.0"
config = "0.13.3"
jwt-simple = "0.11.5"