Changeset 6067 in josm
- Timestamp:
- 2013-07-16T21:16:36+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r5422 r6067 21 21 22 22 /** 23 * The default JOSM OAuth consumer key. 24 */ 25 static public final String DEFAULT_JOSM_CONSUMER_KEY = "AdCRxTpvnbmfV8aPqrTLyA"; 26 /** 27 * The default JOSM OAuth consumer secret. 28 */ 29 static public final String DEFAULT_JOSM_CONSUMER_SECRET = "XmYOiGY9hApytcBC3xCec3e28QBqOWz5g6DSb5UpE"; 23 * The default JOSM OAuth consumer key (created by user josmeditor). 24 */ 25 static public final String DEFAULT_JOSM_CONSUMER_KEY = "F7zPYlVCqE2BUH9Hr4SsWZSOnrKjpug1EgqkbsSb"; 26 /** 27 * The default JOSM OAuth consumer secret (created by user josmeditor). 28 */ 29 static public final String DEFAULT_JOSM_CONSUMER_SECRET = "rIkjpPcBNkMQxrqzcOvOC4RRuYupYr7k8mfP13H5"; 30 /** 31 * The old default JOSM OAuth consumer key. 32 */ 33 static public final String OLD_JOSM_CONSUMER_KEY = "AdCRxTpvnbmfV8aPqrTLyA"; 34 /** 35 * The old default JOSM OAuth consumer secret. 36 */ 37 static public final String OLD_JOSM_CONSUMER_SECRET = "XmYOiGY9hApytcBC3xCec3e28QBqOWz5g6DSb5UpE"; 30 38 /** 31 39 * The default OSM OAuth request token URL. … … 63 71 static public OAuthParameters createDefault(String apiUrl) { 64 72 OAuthParameters parameters = new OAuthParameters(); 65 parameters.setConsumerKey( DEFAULT_JOSM_CONSUMER_KEY);66 parameters.setConsumerSecret( DEFAULT_JOSM_CONSUMER_SECRET);73 parameters.setConsumerKey(OLD_JOSM_CONSUMER_KEY); 74 parameters.setConsumerSecret(OLD_JOSM_CONSUMER_SECRET); 67 75 if (apiUrl == null || apiUrl.isEmpty() || apiUrl.equals(OsmApi.DEFAULT_API_URL)) { 68 76 parameters.setRequestTokenUrl(DEFAULT_REQUEST_TOKEN_URL);
Note:
See TracChangeset
for help on using the changeset viewer.