| Crates.io | mogh_auth_client |
| lib.rs | mogh_auth_client |
| version | 1.2.1 |
| created_at | 2026-01-17 22:49:01.060552+00 |
| updated_at | 2026-01-21 09:06:13.105814+00 |
| description | Client library for Mogh Auth Server embedded API. |
| homepage | |
| repository | https://github.com/moghtech/lib |
| max_upload_size | |
| id | 2051366 |
| size | 108,175 |
Provides trait-driven server and client implementations for robust application authentication.
let reqwest = Reqwest::default();
let options: mogh_auth_client::api::login::GetLoginOptionsResponse =
mogh_auth_client::request::login(
&reqwest,
"https://example.com/auth",
mogh_auth_client::api::login::GetLoginOptions {}
).await?;