azalea-rs / azalea

A collection of Rust crates for making Minecraft bots, clients, and tools.
https://azalea.matdoes.dev
MIT License
361 stars 48 forks source link

auth customisation options for use outside of Azalea #130

Closed 1zun4 closed 2 weeks ago

1zun4 commented 5 months ago

I am currently looking forward to using azalea-auth for https://github.com/CCBlueX/LiquidLauncher to replace the horrible "miners" library, which has no proper error handling and keeps throwing error codes that a normal user cannot really interpret.

But there is one big problem, and that is that I cannot use my own client ID without forking this repository, and I do not want to use the Nintendo Switch client ID. Also, the fact that you cannot pass your own cache to auth, only a path to an existing cache file, is another thing that would require me to fork it.

Since azalea is more of a library, it makes sense to give the programmer using the library more control without having to fork the repository and change the code.