https://github.com/rfresh2/mcauthlib
A library for authentication with Minecraft accounts.
https://github.com/rfresh2/mcauthlib
Last synced: about 1 year ago
JSON representation
A library for authentication with Minecraft accounts.
- Host: GitHub
- URL: https://github.com/rfresh2/mcauthlib
- Owner: rfresh2
- License: mit
- Created: 2023-07-07T02:00:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T07:14:03.000Z (about 2 years ago)
- Last Synced: 2024-04-24T12:04:06.082Z (about 2 years ago)
- Language: Java
- Size: 272 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Archived
This repo has been moved into [MCProtocolLib](https://github.com/rfresh2/MCProtocolLib) and will no longer receive updates here
# MCAuthLib
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](https://github.com/GeyserMC/MCAuthLib) and [tycrek/MCAuthLib](https://github.com/tycrek/MCAuthLib)
# Features
* Simple Microsoft Account authentication using [OpenAuth](https://github.com/Litarvan/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
## Example Code
See [example/com/github/steveice10/mc/auth/test/MinecraftAuthTest.java](https://github.com/Steveice10/MCAuthLib/blob/master/example/com/github/steveice10/mc/auth/test/MinecraftAuthTest.java)
## Building the Source
MCAuthLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
## License
MCAuthLib is licensed under the **[MIT license](http://www.opensource.org/licenses/mit-license.html)**.