Skip to content

Commit

Permalink
feat!: change identifier of JEGameAccount, from XUID to Minecraft UUID
Browse files Browse the repository at this point in the history
Some users (especially minors) are denied to get claims, including XUID and Gamertag
  • Loading branch information
AlphaBs committed Aug 21, 2024
1 parent a86b46c commit 7db5c09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CmlLib.Core.Auth.Microsoft/Sessions/JEGameAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ public JEGameAccount(ISessionStorage sessionStorage) : base(sessionStorage)
public JEProfile? Profile => JEProfileSource.Default.Get(SessionStorage);
public JEToken? Token => JETokenSource.Default.Get(SessionStorage);

protected override string? GetIdentifier()
{
return Profile?.UUID;
}

public MSession ToLauncherSession()
{
return new MSession
Expand Down

0 comments on commit 7db5c09

Please sign in to comment.