MCAuthLib is a library for authentication with Minecraft accounts. It is used in projects such as MCProtocolLib to handle authenticating users.
This code is forked from GeyserMC/MCAuthLib and tycrek/MCAuthLib
- Simple Microsoft Account authentication using OpenAuth.
- MCAuthLib does not provide interfaces for 2FA or OAuth workflows. This is based on requirements for unattended login ability with bots.
- This library is intended to be used as a bridge between OpenAuth and the MCProtocolLib libraries.
- JDK17
See example/com/github/steveice10/mc/auth/test/MinecraftAuthTest.java
MCAuthLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
MCAuthLib is licensed under the MIT license.