blob: dfe03e5c57820c294fca1dd780a092d055c84b23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
package cgeo.geocaching.connector.oc;
import cgeo.geocaching.R;
public class OCPLAuthParams implements IOCAuthParams {
@Override
public String getSite() {
return "www.opencaching.pl";
}
@Override
public int getCKResId() {
return R.string.oc_pl_okapi_consumer_key;
}
@Override
public int getCSResId() {
return R.string.oc_pl_okapi_consumer_secret;
}
@Override
public int getAuthTitleResId() {
return R.string.auth_ocpl;
}
@Override
public int getTokenPublicPrefKey() {
return R.string.pref_ocpl_tokenpublic;
}
@Override
public int getTokenSecretPrefKey() {
return R.string.pref_ocpl_tokensecret;
}
@Override
public int getTempTokenPublicPrefKey() {
return R.string.pref_temp_ocpl_token_public;
}
@Override
public int getTempTokenSecretPrefKey() {
return R.string.pref_temp_ocpl_token_secret;
}
@Override
public String getCallbackUri() {
return "callback://www.cgeo.org/opencaching.pl/";
}
}
|