#oauth #client #tongji-oauth

tongji-oauth

An SDK used for login into Tongji University's authentication system

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 9, 2025

#64 in #oauth

MIT license

19KB
145 lines

Tongji Oauth

LICENSE crates.io

一个用于完成同济大学统一身份认证的Rust语言SDK

Usage

use tongji_oauth::Client;

async fn func() {
    let client = Client::new();
    let session_id = client.login("username", "password").await.unwrap();

    // do whatever you want
    let reqwest_client = &client.client;
}

Announcement

本项目仅供学习交流使用,请勿利用本项目对学校系统正常运行造成负面影响。

Dependencies

~12–24MB
~335K SLoC