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
AuthError
; }
12
namespace
Identity {
struct
AuthToken
; }
13
namespace
Identity {
struct
EduAuthTokenPair
; }
14
namespace
Identity {
struct
AuthArgs
; }
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>
mUnk932c52;
25
::ll::UntypedStorage<8, 64>
mUnk89cc47;
26
::ll::UntypedStorage<8, 32>
mUnke91259;
27
::ll::UntypedStorage<8, 16>
mUnk28162c;
28
::ll::UntypedStorage<8, 72>
mUnk6c2a08;
29
// NOLINTEND
30
31
public
:
32
// prevent constructor by default
33
IEduAuth& operator=(IEduAuth
const
&);
34
IEduAuth(IEduAuth
const
&);
35
IEduAuth();
36
37
public
:
38
// virtual functions
39
// NOLINTBEGIN
40
virtual
~IEduAuth()
/*override*/
=
default
;
41
42
virtual
void
Authenticate(
43
::Identity::AuthArgs
const
&,
44
::std::function<
void
()>,
45
::std::function<
void
(::std::optional<
::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>
>)>
46
) = 0;
47
48
virtual
void
resetAuthenticationState() = 0;
49
50
virtual
void
clearCookies() = 0;
51
52
virtual
void
signOut(::std::string_view, ::std::function<
void
(
::Identity::SignOutResult
)>) = 0;
53
54
virtual
void
authenticateSilently(
55
::std::string_view,
56
::std::string
const
&,
57
::std::function<
void
(
::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>
)>
58
) = 0;
59
60
virtual
void
authenticateSilentlyCredentialed();
61
// NOLINTEND
62
63
public
:
64
// member functions
65
// NOLINTBEGIN
66
#ifdef LL_PLAT_C
67
MCNAPI
void
resetEduToken();
68
69
MCNAPI
void
setTokens(
::Identity::EduAuthTokenPair
tokens);
70
#endif
71
// NOLINTEND
72
};
73
74
}
// namespace Identity
Bedrock::EnableNonOwnerReferences
Definition
EnableNonOwnerReferences.h:7
Bedrock::Result
Definition
Result.h:9
Identity::AuthArgs
Definition
AuthArgs.h:7
Identity::AuthError
Definition
AuthError.h:7
Identity::AuthToken
Definition
AuthToken.h:7
Identity::EduAuthTokenPair
Definition
EduAuthTokenPair.h:7
Identity::SignOutResult
Definition
SignOutResult.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
identity
edu_common
IEduAuth.h
Generated on
for LeviLamina by
1.16.1