LeviLamina
Loading...
Searching...
No Matches
CredentialsObserver.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/edu/CredentialReplaySubject.h"
7#include "mc/certificates/identity/edu/GenericCredentialsEvent.h"
8#include "mc/deps/core/utility/Observer.h"
9
10// auto generated forward declare list
11// clang-format off
12struct EDUConfigData;
13namespace Core { class SingleThreadedLock; }
14namespace edu::auth { struct CredentialsAcquired; }
15namespace edu::auth { struct CredentialsRefreshSuccess; }
16namespace edu::auth { struct CredsAuthComplete; }
17namespace edu::auth { struct CredsExpired; }
18namespace edu::auth { struct CredsLost; }
19namespace edu::auth { struct GraphCredsRefreshFailed; }
20namespace edu::auth { struct SignInCredsRefreshFailed; }
21// clang-format on
22
23namespace edu::auth {
24
25struct CredentialsObserver : public ::Core::Observer<::edu::auth::CredentialsObserver, ::Core::SingleThreadedLock> {
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~CredentialsObserver() /*override*/;
30
31 virtual void onNotify(::edu::auth::CredentialsAcquired const& state);
32
33 virtual void onNotify(::edu::auth::CredentialsRefreshSuccess const& state);
34
35 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::SignInCredsRefreshFailed> const& state);
36
37 virtual void onNotify(::EDUConfigData const& config);
38
39 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsAuthComplete> const& state);
40
41 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state);
42
43 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsExpired> const& state);
44
45 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::GraphCredsRefreshFailed> const& state);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
58
60
62
63 MCNAPI void $onNotify(::EDUConfigData const& config);
64
66
68
70
72 // NOLINTEND
73};
74
75} // namespace edu::auth
Definition SingleThreadedLock.h:7
Definition EDUConfigData.h:15
Definition CredentialsAcquired.h:7
Definition CredentialsObserver.h:7
MCAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost > const &state)
MCAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::GraphCredsRefreshFailed > const &state)
MCAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::SignInCredsRefreshFailed > const &state)
MCAPI void $onNotify(::edu::auth::CredentialsAcquired const &state)
MCAPI void $onNotify(::EDUConfigData const &config)
MCAPI void $onNotify(::edu::auth::CredentialsRefreshSuccess const &state)
MCAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsAuthComplete > const &state)
MCAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsExpired > const &state)
Definition CredentialsRefreshSuccess.h:7
Definition CredsAuthComplete.h:7
Definition CredsExpired.h:7
Definition CredsLost.h:7
Definition GenericCredentialsEvent.h:8
Definition GraphCredsRefreshFailed.h:7
Definition SignInCredsRefreshFailed.h:7