Added basic token auth extractor

This commit is contained in:
Jan Schermer 2025-05-19 13:38:43 +02:00
parent 14012b155e
commit 5a10a8d4b1

View file

@ -119,6 +119,6 @@ async fn fallback_route_unknown(req: Request) -> Response {
/// basic handler that responds with a static string /// basic handler that responds with a static string
async fn root(test: AuthInfo) -> &'static str { async fn root(test: AuthInfo) -> &'static str {
println!("Hello world, {test:?}"); println!("AuthInfo: {test:?}");
"Hello, World!" "Hello, World!"
} }