casdoor-sdk-rust
Описание
Rust client SDK for Casdoor, see example at: https://github.com/casdoor/casdoor-rust-example
Языки
- Rust100%
год назад
год назад
год назад
3 года назад
год назад
4 года назад
год назад
год назад
README.md
Features:
- Add openssl for parsing certificate and getting Public Key from it;
- Delete
andcubixdependencies;salvo - Delete getters;
- Support decoding multiple jsonwebtoken algos;
- Add JWT validation;
- Write Casdoor OAuth2 client for getting access_token;
This lib use latest OAuth2 Release with big API update. Read more here.
Also, I started it for closing RUSTSEC-2024-0421.
casdoor-sdk-rust
A Casdoor SDK (contain APIs) with more complete interfaces and better usability.
Install
Run the following Cargo command in your project directory:
Or add the following line to your Cargo.toml:
Example init Casdoor config
Example with actix_web_httpauth and actix_web
actix_web_httpauth
actix_web