* Added Support for Custom Auth using `client_id` and `scope`
* fix: `Account::microsoft` and added lifetime to `Account::microsoft_with_custom_client_id`
* Added function `with_microsoft_access_token_and_custom_client_id`
* Removed Custom Scope.
* I got carried away, and made scope also customizable, later realized no customization is needed.
* Better Documentation and Minor fixes
* Added Custom Scope
* Added RpsTicket format for custom `client_id`
* Moved to non-static str
* fix example
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
* fix doc grammer
* changed function signature
* fmt
* fixed example
* removed dead code
* Removed `d=` insertion in `client_id`
* removed unnecessary `mut`
---------
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
* Add option for grabbing authentication code for Microsoft seperately. Created two new functions, one that outputs the DeviceCodeResponse and one that uses this response to authenticate an actual account.
* Added documentation and cleaned up function names. Still wondering about code repeition
* reduce code duplication, more docs, cleanup
* clippy
---------
Co-authored-by: mat <git@matdoes.dev>
Pathfinding is very much not done, but it works enough and I want to get this merged.
TODO: fast replanning, goals that aren't a single node, falling moves (it should be able to play the dropper), parkour moves
* a
* try to do more work on auth signing (untested)
* well auth works when i remove the d= so
* auth stuff
* sessionserver stuff
* add auth in azalea-protocol/client
* caching*
refreshing microsoft auth tokens isn't implemented yet, also i haven't tested it
* how did i not notice that i had the code duplicated
* fix cache
* add refreshing msa token
* replace some printlns with log::trace
* auth works!
* Update main.rs
* fix clippy warnings