tongji-oauth

Crates.iotongji-oauth
lib.rstongji-oauth
version0.1.0
created_at2025-04-09 02:44:08.588303+00
updated_at2025-04-09 02:44:08.588303+00
descriptionAn SDK used for login into Tongji University's authentication system.
homepage
repositoryhttps://github.com/Hell-Tractor/tongji-oauth
max_upload_size
id1626223
size64,198
Hell-Tractor (Hell-Tractor)

documentation

README

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

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

Commit count: 2

cargo fmt