diff options
| author | 2025-01-30 23:39:40 -0600 | |
|---|---|---|
| committer | 2025-01-30 23:39:40 -0600 | |
| commit | 58b85cd77338bfc5a35fa39e10598cadb27eee32 (patch) | |
| tree | 504f2ce93ff4ef3129b757018a3d9b47f257328b /src/auth/msa.rs | |
| parent | remove dead oauth code (diff) | |
Remove some unused imports but not all of them
Diffstat (limited to 'src/auth/msa.rs')
| -rw-r--r-- | src/auth/msa.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/auth/msa.rs b/src/auth/msa.rs index 6c90790..47e088b 100644 --- a/src/auth/msa.rs +++ b/src/auth/msa.rs @@ -1,16 +1,13 @@ use std::borrow::Cow; use std::collections::HashMap; -use std::ops::Add; -use std::time::{Duration, SystemTime}; -use chrono::{DateTime, TimeDelta, Utc}; +use chrono::{DateTime, Utc}; use log::debug; use oauth2::AccessToken; -use reqwest::{IntoUrl, Method, RequestBuilder}; +use reqwest::{Method}; use serde::{Deserialize, Serialize}; use uuid::Uuid; use crate::auth::AuthError; use crate::auth::types::Token; -use crate::util::USER_AGENT; const XBOX_LIVE_AUTH: &str = "https://user.auth.xboxlive.com/user/authenticate"; const XBOX_LIVE_XSTS: &str = "https://xsts.auth.xboxlive.com/xsts/authorize"; |
