S2CMojangInfoPacket

data class S2CMojangInfoPacket(val sessionHash: String) : AxochatPacket.S2C

After the client sent the server a RequestMojangInfo packet, the server will provide the client with a session_hash. A session hash is synonymous with a server id in the context of authentication with Mojang. The client has to send a LoginMojang packet to the server after authenticating itself with Mojang.

Parameters

sessionHash

session_hash to authenticate with Mojang

Constructors

Link copied to clipboard
constructor(sessionHash: String)

Properties

Link copied to clipboard
@SerializedName(value = "session_hash")
val sessionHash: String