azalea-rs / azalea

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

Add functions `auth_with_link_code`, `get_ms_link_code`, and `get_ms_auth_token`. #88

Closed Mythbusters123 closed 1 year ago

Mythbusters123 commented 1 year ago

This allows for the seamless ease of getting the Microsoft Link code (should change function name later) and allows the user to authenticate these accounts through the specific device code response.

This is a preliminary implementation. Could probably improved and refactored a fair bit as there is a lot of reused code. Thank you for considering this pull request.

Work still needed to be done: