aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src/cache.rs
AgeCommit message (Collapse)Author
7 dayssupport generic auth cache entriesLizzy Fleckenstein
2025-12-15sort derives with cargo sort-derivesmat
might add to ci later, unsure how to do it without adding significant friction for contributors though
2025-10-28Add cache_key alias to avoid re-auth (#270)Shayne Hartford
2025-09-26update azalea-auth docs and variable names to make it clear that the cache ↵mat
key doesn't need to be an email
2025-05-30formatting: merge importsmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-04-04remove executable bit from filesmat
2024-10-26group imports with rustfmtmat
2024-08-15fix incorrect comment in with_microsoft_access_token docsmat
2023-11-18replace log with tracingmat
2023-06-24Add functions `auth_with_link_code`, `get_ms_link_code`, and ↵Adam Reisenauer
`get_ms_auth_token`. (#88) * 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>
2022-11-12Pathfinder (#25)mat
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
2022-10-18Create cache file directory if it doesn't existUbuntu
2022-10-17refactor: remove println statements (#31)Sculas
This PR removes all println statements and logs them on trace level instead. Normally, libraries shouldn't print to stdout using println, since there's no control over them.
2022-10-16Microsoft Authentication (#29)mat
* 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