3 releases
0.1.4 | Jul 18, 2023 |
---|---|
0.1.3 |
|
0.1.2 |
|
0.1.1 | Jul 11, 2023 |
0.1.0 | Jun 27, 2023 |
#500 in Authentication
27 downloads per month
Used in hkulibrary
12KB
270 lines
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
Dependencies
~10–24MB
~375K SLoC