com.mojang.authlib.legacy

public class LegacyUserAuthentication

extends HttpUserAuthentication

All mapped superinterfaces:

UserAuthentication

com.mojang.authlib.legacy.LegacyUserAuthentication

Field summary

Modifier and TypeField
private static final URL
AUTHENTICATION_URL
private static final int
AUTHENTICATION_VERSION
private static final int
RESPONSE_PART_PROFILE_NAME
private static final int
RESPONSE_PART_SESSION_TOKEN
private static final int
RESPONSE_PART_PROFILE_ID
private String
sessionToken

Constructor summary

ModifierConstructor
protected (LegacyAuthenticationService arg0)

Method summary

Modifier and TypeMethod
public void
logIn()
public void
logOut()
public boolean
canPlayOnline()
public GameProfile[]
getAvailableProfiles()
public void
selectGameProfile(GameProfile arg0)
public String
getAuthenticatedToken()
public String
getUserID()
public LegacyAuthenticationService
getAuthenticationService()