public class Session
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Session.Type |
Constructor and Description |
---|
Session(java.lang.String usernameIn,
java.lang.String playerIDIn,
java.lang.String tokenIn,
java.lang.String sessionTypeIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPlayerID() |
com.mojang.authlib.GameProfile |
getProfile() |
java.lang.String |
getSessionID() |
java.lang.String |
getToken() |
java.lang.String |
getUsername() |
boolean |
hasCachedProperties() |
void |
setProperties(com.mojang.authlib.properties.PropertyMap properties) |
public Session(java.lang.String usernameIn, java.lang.String playerIDIn, java.lang.String tokenIn, java.lang.String sessionTypeIn)
public java.lang.String getSessionID()
public java.lang.String getPlayerID()
public java.lang.String getUsername()
public java.lang.String getToken()
public com.mojang.authlib.GameProfile getProfile()
public void setProperties(com.mojang.authlib.properties.PropertyMap properties)
public boolean hasCachedProperties()