Class SessionServerApi
java.lang.Object
com.zenith.feature.api.Api
com.zenith.feature.api.sessionserver.SessionServerApi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable SecretKeygetProfile(UUID uuid) getProfileAndSkin(UUID uuid) getSharedSecret(String serverId, PublicKey publicKey, SecretKey secretKey) voidjoinServer(UUID uuid, String accessToken, String sharedSecret) Methods inherited from class Api
buildBaseRequest, buildHttpClient, get, post
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SessionServerApi
public SessionServerApi()
-
-
Method Details
-
getProfile
-
joinServer
- Throws:
RuntimeException- on failure to join server
-
hasJoined
-
getProfileAndSkin
-
generateClientKey
-