authku

Crates.ioauthku
lib.rsauthku
version0.1.4
sourcesrc
created_at2023-06-27 11:37:25.869247
updated_at2023-07-18 10:39:12.767166
descriptiona user-friendly client for authorization and authentication in HKU eLearning system
homepagehttps://github.com/adlsdztony/authku
repositoryhttps://github.com/adlsdztony/authku
max_upload_size
id901242
size11,530
Zilong Zhou (adlsdztony)

documentation

README

authku

A rust library for authorization and authentication in HKU eLearning system, including hkuportal, moodle, library, etc.

Usage

#[tokio::main]
async fn main() {
    let client = authku::Client::new();
    client.login_lib("uid", "password")
        .await.unwrap();

    client.login_portal("uid", "password")
        .await.unwrap();

    client.login_moodle("uid", "password")
        .await.unwrap();
}

TODO

  • portal
  • library
  • moodle
Commit count: 4

cargo fmt