A rust library for authorization and authentication in HKU eLearning system, including hkuportal, moodle, library, etc.
#[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();
}
- portal
- library
- moodle