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;
44 MCAPI
static bool _checkExpiration(
::WebToken const& token, int64 currentTime);
46 MCAPI static ::GameServerTokenValidationResult _validate(
53 MCAPI static ::GameServerTokenValidationResult
54 _validateSelfSigned(
::WebToken const& token, int64 currentTime,
bool checkExpiration);
57 MCAPI static ::RawGameServerToken createLocal(
60 ::std::string
const& keyId,
69 MCAPI
void* $ctor(::std::string
const& tokenString);