LeviLamina
Loading...
Searching...
No Matches
GameServerToken.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/WebToken.h"
7#include "mc/options/DiscoveryEnvironment.h"
8
9// auto generated forward declare list
10// clang-format off
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, bool> mIsSelfSigned;
20 ::ll::TypedStorage<1, 1, bool> mIsValid;
21 ::ll::TypedStorage<8, 128, ::WebToken> mRawToken;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ::std::optional<::DiscoveryEnvironment> getIssuerEnvironment() const;
33
34 MCAPI ::PlayerAuthenticationInfo getTrustedInfo() const;
35
36 MCAPI ::std::string getXuid(bool trustSelfSigned) const;
37
38 MCAPI ::GameServerToken const& operator=(::GameServerToken const& other);
39
40 MCAPI ~GameServerToken();
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static bool _validate(
47 ::WebToken const& token,
48 ::MinecraftServiceKeyManager const& keyManager,
49 int64 currentTime,
50 bool checkExpiration
51 );
52
53 MCAPI static bool _validateSelfSigned(::WebToken const& token, int64 currentTime, bool checkExpiration);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61};
Definition GameServerToken.h:15
Definition MinecraftServiceKeyManager.h:17
Definition WebToken.h:16
Definition PlayerAuthenticationInfo.h:8