Changeset 6069 in josm for trunk/src/org/openstreetmap/josm/data/oauth
- Timestamp:
- 2013-07-17T00:01:07+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r6067 r6069 64 64 * at the given API url. URL parameters are only set if the URL equals {@link OsmApi#DEFAULT_API_URL} 65 65 * or references the domain "dev.openstreetmap.org", otherwise they may be <code>null</code>. 66 * 66 * 67 67 * @param apiUrl The API URL for which the OAuth default parameters are created. If null or empty, the default OSM API url is used. 68 68 * @return a set of default parameters for the given {@code apiUrl} … … 133 133 /** 134 134 * Constructs a new, unitialized, {@code OAuthParameters}. 135 * 135 * 136 136 * @see #createDefault 137 137 * @see #createFromPreferences … … 162 162 return consumerKey; 163 163 } 164 164 165 165 /** 166 166 * Sets the consumer key. … … 170 170 this.consumerKey = consumerKey; 171 171 } 172 173 /** 174 * Gets the consumer secret. 172 173 /** 174 * Gets the consumer secret. 175 175 * @return The consumer secret 176 176 */ … … 178 178 return consumerSecret; 179 179 } 180 180 181 181 /** 182 182 * Sets the consumer secret. … … 186 186 this.consumerSecret = consumerSecret; 187 187 } 188 188 189 189 /** 190 190 * Gets the request token URL. … … 194 194 return requestTokenUrl; 195 195 } 196 196 197 197 /** 198 198 * Sets the request token URL. … … 202 202 this.requestTokenUrl = requestTokenUrl; 203 203 } 204 204 205 205 /** 206 206 * Gets the access token URL. … … 210 210 return accessTokenUrl; 211 211 } 212 212 213 213 /** 214 214 * Sets the access token URL. … … 218 218 this.accessTokenUrl = accessTokenUrl; 219 219 } 220 220 221 221 /** 222 222 * Gets the authorise URL. … … 226 226 return authoriseUrl; 227 227 } 228 228 229 229 /** 230 230 * Sets the authorise URL.
Note:
See TracChangeset
for help on using the changeset viewer.