From 4cef62e8e4aa04e44048eb67e5091c12a73d2a09 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sun, 16 Oct 2022 22:54:54 -0500 Subject: Microsoft Authentication (#29) * 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 --- azalea-auth/Cargo.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'azalea-auth/Cargo.toml') diff --git a/azalea-auth/Cargo.toml b/azalea-auth/Cargo.toml index 2f817354..34fec8f7 100755 --- a/azalea-auth/Cargo.toml +++ b/azalea-auth/Cargo.toml @@ -9,4 +9,17 @@ version = "0.1.0" [dependencies] azalea-buf = {path = "../azalea-buf", version = "^0.1.0"} +azalea-crypto = {path = "../azalea-crypto", version = "^0.1.0"} +chrono = {version = "0.4.22", default-features = false} +log = "0.4.17" +num-bigint = "0.4.3" +reqwest = {version = "0.11.12", features = ["json"]} +serde = {version = "1.0.145", features = ["derive"]} +serde_json = "1.0.86" +thiserror = "1.0.37" +tokio = "1.21.2" uuid = "^1.1.2" + +[dev-dependencies] +env_logger = "0.9.1" +tokio = {version = "1.21.2", features = ["full"]} -- cgit v1.2.3