LeviLamina
Loading...
Searching...
No Matches
IEduAuth.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
#include "mc/platform/Result.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
Identity {
struct
AuthArgs; }
12
namespace
Identity {
struct
AuthError; }
13
namespace
Identity {
struct
AuthToken; }
14
namespace
Identity {
struct
EduAuthTokenPair; }
15
namespace
Identity {
struct
SignOutResult; }
16
// clang-format on
17
18
namespace
Identity {
19
20
class
IEduAuth
:
public
::Bedrock::EnableNonOwnerReferences
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<8, 8>
mUnk8954c5;
25
::ll::UntypedStorage<8, 64>
mUnkc06796;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
IEduAuth
& operator=(
IEduAuth
const
&);
31
IEduAuth
(
IEduAuth
const
&);
32
IEduAuth
();
33
34
public
:
35
// virtual functions
36
// NOLINTBEGIN
37
// vIndex: 0
38
virtual
~IEduAuth
()
/*override*/
=
default
;
39
40
// vIndex: 1
41
virtual
void
Authenticate(
42
::Identity::AuthArgs
const
&,
43
::std::function<
void
()>,
44
::std::function<
void
(::std::optional<
::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>
>)>
45
) = 0;
46
47
// vIndex: 2
48
virtual
void
resetAuthenticationState() = 0;
49
50
// vIndex: 3
51
virtual
void
clearCookies() = 0;
52
53
// vIndex: 4
54
virtual
void
signOut(::std::string_view, ::std::function<
void
(
::Identity::SignOutResult
)>) = 0;
55
56
// vIndex: 5
57
virtual
void
authenticateSilently(
58
::std::string_view,
59
::std::string
const
&,
60
::std::function<
void
(
::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>
)>
61
) = 0;
62
63
// vIndex: 6
64
virtual
void
authenticateSilentlyCredentialed();
65
// NOLINTEND
66
67
public
:
68
// member functions
69
// NOLINTBEGIN
70
MCNAPI ::Identity::EduAuthTokenPair
getTokens
()
const
;
71
72
MCNAPI
bool
hasValidMessToken
()
const
;
73
// NOLINTEND
74
75
public
:
76
// virtual function thunks
77
// NOLINTBEGIN
78
79
// NOLINTEND
80
};
81
82
}
// namespace Identity
Bedrock::EnableNonOwnerReferences
Definition
EnableNonOwnerReferences.h:7
Bedrock::Result
Definition
Result.h:9
Identity::IEduAuth
Definition
IEduAuth.h:20
Identity::IEduAuth::hasValidMessToken
MCAPI bool hasValidMessToken() const
Identity::IEduAuth::getTokens
MCAPI::Identity::EduAuthTokenPair getTokens() const
Identity::AuthArgs
Definition
AuthArgs.h:7
Identity::SignOutResult
Definition
SignOutResult.h:7
ll::UntypedStorage
Definition
Alias.h:14
src-server
mc
deps
identity
edu_common
IEduAuth.h
Generated on Tue Oct 28 2025 05:31:33 for LeviLamina by
1.12.0