aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-auth/src/auth.rs')
-rwxr-xr-xazalea-auth/src/auth.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs
index 667c9062..e70be27d 100755
--- a/azalea-auth/src/auth.rs
+++ b/azalea-auth/src/auth.rs
@@ -1,18 +1,20 @@
//! Handle Minecraft (Xbox) authentication.
-use crate::cache::{self, CachedAccount, ExpiringValue};
-use chrono::{DateTime, Utc};
-use serde::{Deserialize, Serialize};
-use serde_json::json;
use std::{
collections::HashMap,
path::PathBuf,
time::{Instant, SystemTime, UNIX_EPOCH},
};
+
+use chrono::{DateTime, Utc};
+use serde::{Deserialize, Serialize};
+use serde_json::json;
use thiserror::Error;
use tracing::{error, trace};
use uuid::Uuid;
+use crate::cache::{self, CachedAccount, ExpiringValue};
+
#[derive(Default)]
pub struct AuthOpts<'a> {
/// Whether we should check if the user actually owns the game. This will