17class GameServerToken {
21 ::ll::TypedStorage<1, 1, bool> mIsSelfSigned;
22 ::ll::TypedStorage<1, 1, bool> mIsValid;
23 ::ll::TypedStorage<1, 1, bool> mIsLocal;
24 ::ll::TypedStorage<8, 128, ::WebToken> mRawToken;
34 MCAPI
explicit GameServerToken(::std::string
const& tokenString);
36 MCAPI ::PlayerAuthenticationInfo getTrustedInfo()
const;
46 MCNAPI static ::GameServerTokenValidationResult
_validate(
53 MCAPI static ::GameServerTokenValidationResult
54 _validateSelfSigned(
::WebToken const& token, int64 currentTime,
bool checkExpiration);
57 MCNAPI static ::RawGameServerToken createLocal(
60 ::std::string
const& keyId,
69 MCAPI
void* $ctor(::std::string
const& tokenString);
static MCAPI ::GameServerTokenValidationResult _validate(::WebToken const &token, ::MinecraftServiceKeyManager const &keyManager, int64 currentTime, bool checkExpiration)