lighty-auth
Authentication modules for LightyLauncher.
Note
This is an internal crate for the LightyLauncher ecosystem. Most users should use the main lighty-launcher crate instead.
Features
- Microsoft Authentication: OAuth2 flow for Microsoft accounts
- Offline Authentication: Local authentication for offline play
- Azuriom Integration: Authentication with Azuriom CMS
Usage
[]
= "0.6.3"
use OfflineAuth;
async
Structure
lighty-auth/
└── src/
├── lib.rs # Module declarations
├── offline.rs # Offline authentication (Stable)
├── microsoft.rs # Microsoft OAuth2 authentication (WIP)
└── azuriom.rs # Azuriom CMS authentication (WIP)
Authentication Methods
Offline Mode
Stable implementation for local/offline authentication.
use OfflineAuth;
let auth = new;
let profile = auth.authenticate.await?;
Status: Stable
Microsoft Account
OAuth2 flow for Microsoft accounts (Xbox Live).
use MicrosoftAuth;
// Implementation in progress
Status: Work in Progress
Azuriom CMS
Integration with Azuriom CMS authentication system.
use AzuriomAuth;
// Implementation in progress
Status: Work in Progress
License
MIT
Links
- Main Package: lighty-launcher
- Repository: GitHub
- Documentation: docs.rs/lighty-auth