18class GameServerToken {
22 ::ll::TypedStorage<1, 1, bool> mIsSelfSigned;
23 ::ll::TypedStorage<1, 1, bool> mIsValid;
24 ::ll::TypedStorage<8, 128, ::WebToken> mRawToken;
34 MCAPI
explicit GameServerToken(::std::string
const& tokenString);
36 MCAPI ::std::string getIdentityPublicKey()
const;
38 MCAPI
bool getIsHost()
const;
40 MCAPI ::mce::UUID getLegacyUuid()
const;
42 MCAPI int64 getMinecraftAccountPermissions()
const;
44 MCAPI ::std::string getNintendoName()
const;
46 MCAPI ::std::string getNintendoServiceId()
const;
48 MCAPI ::std::string getPlayFabId()
const;
50 MCAPI ::std::string getPlayStationName()
const;
52 MCAPI ::std::string getPsnId()
const;
54 MCAPI ::PlayerAuthenticationInfo getTrustedInfo()
const;
56 MCAPI ::std::string getXboxLiveName()
const;
58 MCAPI ::std::string getXuid()
const;
64 MCAPI
bool validateSelfSigned(int64 currentTime,
bool checkExpiration);
70 MCAPI
static bool _checkExpiration(
::WebToken const& token, int64 currentTime);
72 MCAPI
static bool _validate(
79 MCAPI
static bool _validateSelfSigned(
::WebToken const& token, int64 currentTime,
bool checkExpiration);
84 MCAPI static ::RawGameServerToken createLocal(
87 ::std::string
const& keyId,
95 MCAPI static ::PlayerAuthenticationInfo
103 MCAPI
void* $ctor(::std::string
const& tokenString);