com.mojang.authlib

public abstract class BaseUserAuthentication

implements UserAuthentication

com.mojang.authlib.BaseUserAuthentication

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
LOGGER
protected static final String
STORAGE_KEY_PROFILE_NAME
protected static final String
STORAGE_KEY_PROFILE_ID
protected static final String
STORAGE_KEY_PROFILE_PROPERTIES
protected static final String
STORAGE_KEY_USER_NAME
protected static final String
STORAGE_KEY_USER_ID
protected static final String
STORAGE_KEY_USER_PROPERTIES
private final AuthenticationService
authenticationService
private final PropertyMap
userProperties
private String
userid
private String
username
private String
password
private GameProfile
selectedProfile
private UserType
userType

Constructor summary

ModifierConstructor
protected (AuthenticationService arg0)

Method summary

Modifier and TypeMethod
public boolean
canLogIn()
public void
logOut()
public boolean
isLoggedIn()
public void
setUsername(String arg0)
public void
setPassword(String arg0)
protected String
getUsername()
protected String
getPassword()
public void
loadFromStorage(Map<String, Object> arg0)
public Map<String, Object>
saveForStorage()
protected void
setSelectedProfile(GameProfile arg0)
public GameProfile
getSelectedProfile()
public AuthenticationService
getAuthenticationService()
public String
getUserID()
public PropertyMap
getUserProperties()
protected PropertyMap
getModifiableUserProperties()
public UserType
getUserType()
protected void
setUserType(UserType arg0)
protected void
setUserid(String arg0)