Skip to content

Commit

Permalink
Remove todo code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 29, 2021
1 parent d21babd commit 0685cc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
@RequiredArgsConstructor
@Getter
public enum ServiceServer {
//
// , URI.create("https://login.microsoftonline.com/"), URI.create("https://login.microsoftonline.com/")
MOJANG("Mojang"),
MICROSOFT("Microsoft", List.of("clientId"));
MOJANG("Mojang");
// MICROSOFT("Microsoft", List.of("clientId"));
// THE_ALTENING("The Altening (1.16+ only)", URI.create("https://authserver.thealtening.com/"), URI.create("https://sessionserver.thealtening.com/"));

private final String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static IPacketWrapper authenticate(GameVersion gameVersion, String userna
AuthenticationService authService = null;
switch (serviceServer) {
case MOJANG -> authService = new MojangAuthenticationService();
case MICROSOFT -> authService = new MsaAuthenticationService(""); // TODO: Add MSA support
// case MICROSOFT -> authService = new MsaAuthenticationService(""); // TODO: Add MSA support
}

authService.setUsername(username);
Expand Down

0 comments on commit 0685cc5

Please sign in to comment.