ImagingTools Core SDK
Main Page
Related Pages
Topics
Namespaces
Classes
Examples
ImtCore
Include
imtauth
ILogin.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
// ImtCore includes
6
#include <imtauth/ILoginStatusProvider.h>
7
8
9
namespace
imtauth
10
{
11
12
13
/*
14
Interface supporting login operation.
15
*/
16
class
ILogin:
virtual
public
imtauth::ILoginStatusProvider
17
{
18
public
:
22
enum
ChangeFlags
23
{
24
CF_LOGIN = 0x36e7b62,
25
CF_LOGOUT
26
};
27
28
// TODO: Replace by GetLoginInfo (sa ILoginInfo after refactoring)
29
virtual
QByteArray GetLoggedUserId()
const
= 0;
30
35
virtual
bool
Login(
const
QByteArray& userId,
const
QString& password) = 0;
36
41
virtual
bool
Logout() = 0;
42
};
43
44
45
}
// namespace imtauth
46
47
imtauth
Definition
CAccountCollection.h:13
Generated by
1.9.8