Skip to content

Commit

Permalink
Deprecate LegacyLoginService and related classes
Browse files Browse the repository at this point in the history
These no longer work, so there's no point in keeping them up-to-date.
Fix #40
  • Loading branch information
tomsik68 committed May 20, 2019
1 parent cdd572e commit 5e05cc4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.io.OutputStream;
import java.util.Random;

@Deprecated
final class LegacyLoginEncryptionProcessor {
private static final int MODE_ENCRYPT = 1;
private static final int MODE_DECRYPT = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

@Deprecated
public final class LegacyLoginService implements ILoginService {
private static final LegacySessionFactory factory = new LegacySessionFactory();
private static final String LOGIN_URL = "https://login.minecraft.net/";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sk.tomsik68.mclauncher.api.login.IProfile;
import sk.tomsik68.mclauncher.api.login.ISession;

@Deprecated
public final class LegacyProfile implements IProfile {

private String pass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import java.io.*;

@Deprecated
public final class LegacyProfileIO implements IProfileIO {
private final LegacyLoginEncryptionProcessor proc;
private final File dest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.util.List;

@Deprecated
final class LegacySession implements ISession {
private final String userName, sessionID, uuid, downloadTicket, lastVersion;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
* Creates LegacySession object using parameters array from login.minecraft.net
*/
@Deprecated
final class LegacySessionFactory {

ISession createSession(String[] params) throws Exception {
Expand Down

0 comments on commit 5e05cc4

Please sign in to comment.