Refactored fabookauthentication class and moved cookiehandler to situaraeservice
[situare] / src / situareservice / situareservice.h
index 605dfe9..821921b 100644 (file)
@@ -104,6 +104,22 @@ public slots:
 private:
 
     /**
+    * @brief Forms a http cookie
+    *
+    * @param apiKeyValue application key
+    * @param expiresValue session expire date&time from Facebook
+    * @param userValue user id from Facebook
+    * @param sessionKeyValue session key from Facebook
+    * @param sessionSecretValue session secret from Facebook
+    * @param signatureValue md5 generated signature
+    * @param localeValue used locale
+    * @return QString formed cookie
+    */
+    QString formCookie(const QString &apiKeyValue, QString expiresValue, QString userValue,
+                       QString sessionKeyValue, QString sessionSecretValue,
+                       const QString &signatureValue, const QString &localeValue);
+
+    /**
     * @brief Forms a http url
     *
     * @param baseUrl Server url