{"repo":"RaphiMC/MinecraftAuth","free":true,"listed":false,"github":"https://github.com/RaphiMC/MinecraftAuth","clone":"git clone https://github.com/RaphiMC/MinecraftAuth.git","description":"Simple and easy to use Minecraft microsoft authentication library (Java and Bedrock)","language":"Java","stars":139,"topics":["authentication","microsoft-authentication","minecraft","minecraft-account","minecraft-authentication","minecraft-bedrock","minecraft-java","minecraft-login","xbox-live-api","xbox-live-oauth"],"license":"LGPL-3.0","category":"auth-billing-email","readme_excerpt":"MinecraftAuth Simple and easy to use Minecraft microsoft authentication library (Java and Bedrock). Features - Full support for Minecraft: Java Edition and Minecraft: Bedrock Edition - Login using device code, credentials, a JavaFX WebView window or a local webserver - Token lifecycle management (Automatic refreshing of tokens) - Serializing and deserializing tokens to and from json - Customizable login flows (Client ID, scopes, ...) - Basic implementation of the Minecraft Realms API (Allows listing and joining realms) Releases Gradle/Maven To use MinecraftAuth with Gradle/Maven you can get it from Maven Central, Lenni0451's Maven or Jitpack. You can also find instructions how to implement it into your build script there. Jar File If you just want the latest jar file you can download it from GitHub Actions or Lenni0451's Jenkins. Usage MinecraftAuth provides its core functionality through the JavaAuthManager and BedrockAuthManager classes. These classes provide predefined and customizable login flows for their respective Minecraft editions. Getting started To get started create an HttpClient which will be used for all network requests: Configure the authentication manager The next step is to configure the authentication manager (Example is for Minecraft: Java Edition, but Minecraft: Bedrock Edition is pretty much the same): Logging in The next step is to choose one of the login flows and initiate the login process. Log in using device code (Recommended) The device code auth f","default_branch":null,"files":null,"tree":[],"storefront":"/r/RaphiMC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RaphiMC/MinecraftAuth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}