Это видео недоступно.
Сожалеем об этом.
Shuttle JWT tutorial | Deploy & Test | Rust Launguage
HTML-код
- Опубликовано: 8 июл 2024
- Following docs.shuttle.r... ~ "Learn how you can secure your Axum web application by using JWT tokens."
I deploy to shuttle and then test :
/public: a route that can be called without needing any authentication.
/login: a route for posting a JSON object with a username and password to get a JWT.
/private: a route that can only be accessed with a valid JWT.
#learningrust #rustprogramming