casdoor-sdk-rust

0

Описание

Rust client SDK for Casdoor, see example at: https://github.com/casdoor/casdoor-rust-example

Языки

  • Rust100%
README.md

Features:

  • Add openssl for parsing certificate and getting Public Key from it;
  • Delete
    cubix
    and
    salvo
    dependencies;
  • 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.

GitHub last commit Crates.io Docs CI

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