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