getProfileInfo

abstract fun getProfileInfo(legacySessionToken: String, identityAccessToken: String): Single<ProfileInfo>

Gets the players profile Info

Parameters

legacySessionToken

the legacy session token of the user (sent as x-session)

identityAccessToken

the identity access token (JWT) of the user (sent as Authorization: Bearer)

Throws

HttpException

if the network request fails

SocketTimeoutException

if the network request times out (in case of no or slow network)