uisessiondata_priv.h
00001 /*
00002  * This file is part of signon
00003  *
00004  * Copyright (C) 2009-2010 Nokia Corporation.
00005  *
00006  * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  */
00022 #ifndef UISESSIONDATA_PRIV_H
00023 #define UISESSIONDATA_PRIV_H
00024 
00025 #define SSOUI_KEY_ERROR           QLatin1String("QueryErrorCode")
00026 #define SSOUI_KEY_CAPTION         QLatin1String("Caption")
00027 #define SSOUI_KEY_MESSAGEID       QLatin1String("QueryMessageId")
00028 #define SSOUI_KEY_MESSAGE         QLatin1String("QueryMessage")
00029 #define SSOUI_KEY_QUERYUSERNAME   QLatin1String("QueryUserName")
00030 #define SSOUI_KEY_USERNAME        QLatin1String("UserName")
00031 #define SSOUI_KEY_QUERYPASSWORD   QLatin1String("QueryPassword")
00032 #define SSOUI_KEY_PASSWORD        QLatin1String("Secret")
00033 #define SSOUI_KEY_REMEMBER        QLatin1String("RememberPassword")
00034 #define SSOUI_KEY_SHOWREALM       QLatin1String("ShowRealm")
00035 #define SSOUI_KEY_REALM           QLatin1String("Realm")
00036 #define SSOUI_KEY_NETWORKPROXY    QLatin1String("NetworkProxy")
00037 #define SSOUI_KEY_UIPOLICY        QLatin1String("UiPolicy")
00038 #define SSOUI_KEY_OPENURL         QLatin1String("OpenUrl")
00039 #define SSOUI_KEY_FINALURL        QLatin1String("FinalUrl")
00040 #define SSOUI_KEY_URLRESPONSE     QLatin1String("UrlResponse")
00041 #define SSOUI_KEY_CAPTCHAURL      QLatin1String("CaptchaUrl")
00042 #define SSOUI_KEY_CAPTCHAIMG      QLatin1String("CaptchaImage") //QByteArray !!!
00043 #define SSOUI_KEY_CAPTCHARESP     QLatin1String("CaptchaResponse")
00044 #define SSOUI_KEY_REQUESTID       QLatin1String("requestId") //id of request, used for cancellation
00045 #define SSOUI_KEY_REFRESH         QLatin1String("refreshRequired") //id of request, used for cancellation
00046 #define SSOUI_KEY_WATCHDOG        QLatin1String("watchdog")         // automatic behavior of dialog
00047 #define SSOUI_KEY_STORED_IDENTITY QLatin1String("StoredIdentity") /* flag whether
00048                                                                      the credentials are stored or not */
00049 #define SSOUI_KEY_IDENTITY        QLatin1String("Identity") // Credentials ID
00050 #define SSOUI_KEY_FORGOTPASSWORD    QLatin1String("ForgotPassword")
00051 #define SSOUI_KEY_FORGOTPASSWORDURL QLatin1String("ForgotPasswordUrl")
00052 #define SSOUI_KEY_REPLYCOOKIES      QLatin1String("ReplyCookies")
00053 #define SSOUI_KEY_WINDOWID          QLatin1String("WindowId")
00054 #define SSOUI_KEY_CONFIRM           QLatin1String("Confirm")
00055 #define SSOUI_KEY_ICON              QLatin1String("Icon")
00056 #define SSOUI_KEY_TITLE             QLatin1String("Title")
00057 #define SSOUI_KEY_CONFIRMCOUNT      QLatin1String("ConfirmCount")
00058 /* Embed the signon-ui in the window given by SSOUI_KEY_WINDOWID */
00059 #define SSOUI_KEY_EMBEDDED          QLatin1String("Embedded")
00060 
00061 /* Contains the original request parameters, as sent from the application */
00062 #define SSOUI_KEY_CLIENT_DATA       QLatin1String("ClientData")
00063 
00064 /* Method and mechanism; these could be used, along with the IDENTITY
00065  * and CLIENT_DATA keys above, to replay the authentication. */
00066 #define SSOUI_KEY_METHOD            QLatin1String("Method")
00067 #define SSOUI_KEY_MECHANISM         QLatin1String("Mechanism")
00068 
00069 /* Process ID of the client application */
00070 #define SSOUI_KEY_PID               QLatin1String("Pid")
00071 /* Application ID (security context) of the client application */
00072 #define SSOUI_KEY_APP_ID            QLatin1String("AppId")
00073 
00074 #define SSOUI_KEY_SLOT_ACCEPT  "accept"
00075 #define SSOUI_KEY_SLOT_REJECT  "reject"
00076 #define SSOUI_KEY_SLOT_REFRESH "refresh"
00077 
00078 #define SSOUI_KEY_STORAGE_KEYS_UNAVAILABLE \
00079     QLatin1String("SecStorageKeysUnavailable")
00080 
00081 #define SSOUI_KEY_UNABLE_TO_QUERY_STORAGE_KEYS \
00082     QLatin1String("SecStorageUnableQueryKeys")
00083 
00084 #endif /* UISESSIONDATA_PRIV_H */