summaryrefslogtreecommitdiffstats
path: root/src/auth/msa.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-02-01 00:20:54 -0600
committerLibravatar bigfoot547 <[email protected]>2025-02-01 00:20:54 -0600
commit6a1bb0980facadcc22cbae27f57782050e7924a1 (patch)
treedafdd715f7fc3f42323bd20666bd653a73a30b68 /src/auth/msa.rs
parentdo clippy stuff and change line endings (diff)
random changes
Diffstat (limited to 'src/auth/msa.rs')
-rw-r--r--src/auth/msa.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/msa.rs b/src/auth/msa.rs
index 404329b..add345c 100644
--- a/src/auth/msa.rs
+++ b/src/auth/msa.rs
@@ -119,8 +119,8 @@ impl XSTSAuthSuccessResponse {
self.get_display_claim("uhs")
}
- pub(super) fn get_xuid(&self) -> Option<Uuid> {
- self.get_display_claim("xid").and_then(|s| s.parse().ok()).map(|n| Uuid::from_u64_pair(0, n))
+ pub(super) fn get_xuid(&self) -> Option<&str> {
+ self.get_display_claim("xid")
}
pub(super) fn get_gamertag(&self) -> Option<&str> {