- Main Page
- Classes
- Files

- File List

uisessiondata_priv.h
1 /*
2 * This file is part of signon
3 *
4 * Copyright (C) 2009-2010 Nokia Corporation.
5 *
6 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * version 2.1 as published by the Free Software Foundation.
11 *
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */
22 #ifndef UISESSIONDATA_PRIV_H
23 #define UISESSIONDATA_PRIV_H
24
25 #define SSOUI_KEY_ERROR QLatin1String("QueryErrorCode")
26 #define SSOUI_KEY_CAPTION QLatin1String("Caption")
27 #define SSOUI_KEY_MESSAGEID QLatin1String("QueryMessageId")
28 #define SSOUI_KEY_MESSAGE QLatin1String("QueryMessage")
29 #define SSOUI_KEY_QUERYUSERNAME QLatin1String("QueryUserName")
30 #define SSOUI_KEY_USERNAME QLatin1String("UserName")
31 #define SSOUI_KEY_QUERYPASSWORD QLatin1String("QueryPassword")
32 #define SSOUI_KEY_PASSWORD QLatin1String("Secret")
33 #define SSOUI_KEY_REMEMBER QLatin1String("RememberPassword")
34 #define SSOUI_KEY_SHOWREALM QLatin1String("ShowRealm")
35 #define SSOUI_KEY_REALM QLatin1String("Realm")
36 #define SSOUI_KEY_NETWORKPROXY QLatin1String("NetworkProxy")
37 #define SSOUI_KEY_UIPOLICY QLatin1String("UiPolicy")
38 #define SSOUI_KEY_OPENURL QLatin1String("OpenUrl")
39 #define SSOUI_KEY_FINALURL QLatin1String("FinalUrl")
40 #define SSOUI_KEY_URLRESPONSE QLatin1String("UrlResponse")
41 #define SSOUI_KEY_CAPTCHAURL QLatin1String("CaptchaUrl")
42 #define SSOUI_KEY_CAPTCHAIMG QLatin1String("CaptchaImage") //QByteArray !!!
43 #define SSOUI_KEY_CAPTCHARESP QLatin1String("CaptchaResponse")
44 #define SSOUI_KEY_REQUESTID QLatin1String("requestId") //id of request, used for cancellation
45 #define SSOUI_KEY_REFRESH QLatin1String("refreshRequired") //id of request, used for cancellation
46 #define SSOUI_KEY_WATCHDOG QLatin1String("watchdog") // automatic behavior of dialog
47 #define SSOUI_KEY_STORED_IDENTITY QLatin1String("StoredIdentity") /* flag whether
48 the credentials are stored or not */
49 #define SSOUI_KEY_IDENTITY QLatin1String("Identity") // Credentials ID
50 #define SSOUI_KEY_FORGOTPASSWORD QLatin1String("ForgotPassword")
51 #define SSOUI_KEY_FORGOTPASSWORDURL QLatin1String("ForgotPasswordUrl")
52 #define SSOUI_KEY_REPLYCOOKIES QLatin1String("ReplyCookies")
53 #define SSOUI_KEY_WINDOWID QLatin1String("WindowId")
54 #define SSOUI_KEY_CONFIRM QLatin1String("Confirm")
55 #define SSOUI_KEY_ICON QLatin1String("Icon")
56 #define SSOUI_KEY_TITLE QLatin1String("Title")
57 #define SSOUI_KEY_CONFIRMCOUNT QLatin1String("ConfirmCount")
58 /* Embed the signon-ui in the window given by SSOUI_KEY_WINDOWID */
59 #define SSOUI_KEY_EMBEDDED QLatin1String("Embedded")
60
61 /* Contains the original request parameters, as sent from the application */
62 #define SSOUI_KEY_CLIENT_DATA QLatin1String("ClientData")
63
64 /* Method and mechanism; these could be used, along with the IDENTITY
65 * and CLIENT_DATA keys above, to replay the authentication. */
66 #define SSOUI_KEY_METHOD QLatin1String("Method")
67 #define SSOUI_KEY_MECHANISM QLatin1String("Mechanism")
68
69 #define SSOUI_KEY_SLOT_ACCEPT "accept"
70 #define SSOUI_KEY_SLOT_REJECT "reject"
71 #define SSOUI_KEY_SLOT_REFRESH "refresh"
72
73 #define SSOUI_KEY_STORAGE_KEYS_UNAVAILABLE \
74 QLatin1String("SecStorageKeysUnavailable")
75
76 #define SSOUI_KEY_UNABLE_TO_QUERY_STORAGE_KEYS \
77 QLatin1String("SecStorageUnableQueryKeys")
78
79 #endif /* UISESSIONDATA_PRIV_H */