@Environment(value=CLIENT) public class Session extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Session.AccountType |
Modifier and Type | Field and Description |
---|---|
private String |
accessToken |
private Session.AccountType |
accountType |
private String |
username |
private String |
uuid |
Constructor and Description |
---|
Session(String username,
String uuid,
String accessToken,
String accountType) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
com.mojang.authlib.GameProfile |
getProfile() |
String |
getSessionId() |
String |
getUsername() |
String |
getUuid() |
private final String username
private final String uuid
private final String accessToken
private final Session.AccountType accountType