data class Account
Class to hold account data received from Mojang via Authentication
Account(uuid: String, displayName: String, username: String, accessToken: String, userid: String)
Class to hold account data received from Mojang via Authentication |
val accessToken: String
Access token that is used to re-authenticate with Mojang, in game as well in the client |
|
val displayName: String
Display name of account, used in e.g. Minecraft |
|
val userid: String
user id of game profile used. Has zero importance to us. |
|
val username: String
Username that is used for login is with non-legacy accounts an email-address |
|
val uuid: String
UUID of account known by Mojang account services |
fun fromMap(map: Map<String, Any>): Account |