LeviLamina
Loading...
Searching...
No Matches
EduSso.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/Enum.h"
7#include "mc/certificates/identity/IEduSsoStrategy.h"
8#include "mc/certificates/identity/SsoPromptMode.h"
9#include "mc/deps/identity/edu_common/EduResourceType.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14struct AccessTokenInfo;
15namespace Identity { class IEduAuth; }
16namespace Identity { struct AuthError; }
17namespace Identity { struct AuthToken; }
18namespace Json { class Value; }
19// clang-format on
20
21namespace Identity::Strategies {
22
24public:
25 // member variables
26 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 EduSso& operator=(EduSso const&);
35 EduSso(EduSso const&);
36 EduSso();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 1
42 virtual ::Json::Value clientConfig(::Json::Value const&) const /*override*/;
43
44 // vIndex: 2
45 virtual ::Identity::_TokenRefreshState::Enum
46 refreshToken(::Identity::IEduAuth&, ::AccessTokenInfo const&, int64, ::Identity::EduResourceType, ::std::function<void(::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>)>, ::std::function<void()>) /*override*/
47 ;
48
49 // vIndex: 3
50 virtual void onRefreshedToken(bool, ::Identity::EduResourceType) /*override*/;
51
52 // vIndex: 4
53 virtual ::Identity::SsoPromptMode
54 signIn(::Identity::IEduAuth&, int64, ::std::function<void()>, ::std::function<void(::std::optional<::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>>)>) /*override*/
55 ;
56
57 // vIndex: 5
58 virtual void signInSuccess(::std::string const&) /*override*/;
59
60 // vIndex: 6
61 virtual void demoSignInSuccess() /*override*/;
62
63 // vIndex: 7
64 virtual void resetAuthentication(::Identity::IEduAuth&, bool) /*override*/;
65
66 // vIndex: 8
67 virtual bool isDemoConversion() const /*override*/;
68
69 // vIndex: 9
70 virtual void
71 signInGraph(::Identity::IEduAuth&, ::std::string const&, ::std::function<void(::std::optional<::Bedrock::Result<::Identity::AuthToken, ::Identity::AuthError>>)>) /*override*/
72 ;
73
74 // vIndex: 0
75 virtual ~EduSso() /*override*/ = default;
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87
88 // NOLINTEND
89};
90
91} // namespace Identity::Strategies
Definition Result.h:9
Definition IEduAuth.h:19
Definition IEduSsoStrategy.h:22
Definition EduSso.h:23
Definition Value.h:16
Definition AccessTokenInfo.h:5
Definition Alias.h:14