lighty_auth/lib.rs
1// Copyright (c) 2025 Hamadi
2// Licensed under the MIT License
3
4//! Authentication providers for Lighty Launcher (Offline, Microsoft, Azuriom).
5
6mod auth;
7mod errors;
8
9#[cfg(feature = "keyring")]
10pub mod keyring;
11
12pub mod offline;
13pub mod azuriom;
14pub mod microsoft;
15
16pub use auth::{
17 AuthProvider, AuthResult, Authenticator, UserProfile, UserRole, generate_offline_uuid,
18};
19pub use errors::AuthError;
20pub use secrecy::{ExposeSecret, SecretString};
21
22#[cfg(feature = "keyring")]
23pub use keyring::TokenHandle;