A port of Mojang's Authlib and launcher authentication.
```no_run use std::path::PathBuf;
async fn main() { let cachefile = PathBuf::from("examplecache.json");
let auth_result = azalea_auth::auth(
"example@example.com",
azalea_auth::AuthOpts {
cache_file: Some(cache_file),
..Default::default()
},
)
.await
.unwrap();
println!("{auth_result:?}");
} ```
Thanks to wiki.vg contributors, Overhash, and prismarine-auth contributors.