ImagingTools Core SDK
ILoginStatusProvider.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IChangeable.h>
7
8
9namespace imtauth
10{
11
12
13class ILoginStatusProvider: virtual public istd::IChangeable
14{
15public:
16 enum LoginStatusFlags
17 {
21 LSF_CACHED = 1,
22
26 LSF_LOGGED_IN = 2,
27
31 LSF_TRY_TO_LOGIN = 4,
32
36 LSF_TRY_TO_REFRESH = 8
37 };
38
39 virtual int GetLoginStatus(const QByteArray& clientId = QByteArray()) const = 0;
40};
41
42
43} // namespace imtauth
44
45