-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the CmlLib.Core.Auth.Microsoft.UI wiki!
This is library for new minecraft login feature which uses Microsoft Xbox account instead of classic mojang account.
For Microsoft Xbox login, It requires three steps: Microsoft OAuth, Xbox Authentication, Minecraft Authentication.
This library wraps two library: XboxAuthNet for Microsoft OAuth and Xbox authentication feature, and CmlLib.Core for Minecraft authentication.
However, Microsoft OAuth feature in this library is incomplete. Launcher should display Microsoft OAuth web page to user and the user should login within Microsoft's web page.
To display Microsoft OAuth web page, CmlLib provides two libraries: CmlLib.Core.Auth.Microsoft.UI and CmlLib.Core.Auth.Microsoft.MsalClient
It also contains utility features like caching sessions and error handling.
UI library for minecraft login with microsoft xbox account.
It shows new Form/Window displaying Microsoft OAuth web page using WebView2.
- Integration with WinForm/WPF
- No Client ID required (Mojang's Client ID is used)
- WebView2 runtime required (end-user should install WebView2 runtime)
- Only Windows 7+ supported
Provides WinForm Form that display Microsoft OAuth login page and create the Minecraft session.
Provides Wpf Window that display Microsoft OAuth login page and create the Minecraft session.
Provides wrapper class for minecraft login with MSAL.NET library.
All Microsoft OAuth process is handled by MSAL.NET. You can authenticate with embedded webview or system browser.
- Support all platform (Windows, Linux, macOS)
- No additional runtime required (no WebView2 runtime required)
- Client ID required (All developer should obtain their own Client ID)