diff options
Diffstat (limited to 'main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java')
| -rw-r--r-- | main/src/cgeo/geocaching/connector/oc/IOCAuthParams.java | 60 |
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(); +} |
