Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GameServerToken Class Reference

Public Member Functions

MCAPI GameServerToken (::std::string const &tokenString)
MCAPI::PlayerAuthenticationInfo getTrustedInfo () const
MCAPI bool hasMatchingIssuer (::MinecraftServiceKeyManager const &serviceKeyManager)
MCAPI void * $ctor (::std::string const &tokenString)

Static Public Member Functions

static MCAPI bool _checkExpiration (::WebToken const &token, int64 currentTime)
static MCAPI ::GameServerTokenValidationResult _validate (::WebToken const &token, ::MinecraftServiceKeyManager const &keyManager, int64 currentTime, bool checkExpiration)
static MCAPI ::GameServerTokenValidationResult _validateSelfSigned (::WebToken const &token, int64 currentTime, bool checkExpiration)

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIsSelfSigned
::ll::TypedStorage< 1, 1, bool > mIsValid
::ll::TypedStorage< 1, 1, bool > mIsLocal
::ll::TypedStorage< 8, 128, ::WebToken > mRawToken

Member Function Documentation

◆ hasMatchingIssuer()

MCAPI bool GameServerToken::hasMatchingIssuer ( ::MinecraftServiceKeyManager const & serviceKeyManager)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _checkExpiration()

MCAPI bool GameServerToken::_checkExpiration ( ::WebToken const & token,
int64 currentTime )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _validate()

MCAPI ::GameServerTokenValidationResult GameServerToken::_validate ( ::WebToken const & token,
::MinecraftServiceKeyManager const & keyManager,
int64 currentTime,
bool checkExpiration )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: