Minecraft Token
data class MinecraftToken(type: String, value: String, user: String, duration: Int)
Content copied to clipboard
A token that can be used to access Minecraft services on a player's behalf.
Parameters
type
The authorization scheme to be used with the token, such as "Bearer
" or "Basic
".
value
The value of the token itself. Typically, this is in JSON Web Token (JWT) format.
user
The UUID of the Minecraft account that the token is intended for. This UUID is associated with the account itself, not the player that belongs to the account.
duration
The amount of time, in seconds, that the token lasts for.
Constructors
Link copied to clipboard
fun MinecraftToken(type: String, value: String, user: String, duration: Int)
Content copied to clipboard