aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src/lib.rs
diff options
context:
space:
mode:
authorAdam Reisenauer <58893124+Mythbusters123@users.noreply.github.com>2023-06-24 18:09:43 -0400
committerGitHub <noreply@github.com>2023-06-24 17:09:43 -0500
commit5e4699688207b8ac722ae7f96c49428242f49a9d (patch)
tree52b0f9b8507fa380376dab81411cb74eed413c95 /azalea-auth/src/lib.rs
parentfe687f9bdbdf3e0214ac4ac6da47a181e4dc23dd (diff)
downloadazalea-drasl-5e4699688207b8ac722ae7f96c49428242f49a9d.tar.xz
Add functions `auth_with_link_code`, `get_ms_link_code`, and `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>
Diffstat (limited to 'azalea-auth/src/lib.rs')
-rwxr-xr-xazalea-auth/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-auth/src/lib.rs b/azalea-auth/src/lib.rs
index cf0d0401..bd151eb3 100755
--- a/azalea-auth/src/lib.rs
+++ b/azalea-auth/src/lib.rs
@@ -1,7 +1,7 @@
#![doc = include_str!("../README.md")]
mod auth;
-mod cache;
+pub mod cache;
pub mod certs;
pub mod game_profile;
pub mod sessionserver;