aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-07-26 23:05:40 +0200
committerrsudev <rasch@munin-soft.de>2013-07-26 23:05:40 +0200
commiteb15dddf8715bbc1926b8030ab4db7fbeec666cf (patch)
tree052b7d99c1cf4d8f6e22cf2eebe3fb840f417485 /main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java
parentf86fa7a33393cd4ce2c7eff72479775b37dfeff3 (diff)
downloadcgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.zip
cgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.tar.gz
cgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.tar.bz2
Implements OKAPI Live access for opencaching.pl
Diffstat (limited to 'main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java')
-rw-r--r--main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java60
1 files changed, 60 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java b/main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java
new file mode 100644
index 0000000..5a140a1
--- /dev/null
+++ b/main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java
@@ -0,0 +1,60 @@
+package cgeo.geocaching.connector.oc;
+
+public interface IOCAuthParams {
+
+ /**
+ * The site name: 'www.openaching...'
+ *
+ * @return
+ */
+ String getSite();
+
+ /**
+ * ResId of the Consumer key
+ *
+ * @return
+ */
+ int getCKResId();
+
+ /**
+ * ResId of the Consumer secret
+ *
+ * @return
+ */
+ int getCSResId();
+
+ /**
+ * ResId ot the Authorization title
+ *
+ * @return
+ */
+ int getAuthTitelResId();
+
+ /**
+ * Preference key of the public token
+ *
+ * @return
+ */
+ int getTokenPublicPrefKey();
+
+ /**
+ * Preference key of the secret token
+ *
+ * @return
+ */
+ int getTokenSecretPrefKey();
+
+ /**
+ * Preference key of the temporary public token (OAuth)
+ *
+ * @return
+ */
+ int getTempTokenPublicPrefKey();
+
+ /**
+ * Preference key of the temporary secret token (OAuth)
+ *
+ * @return
+ */
+ int getTempTokenSecretPrefKey();
+}