Changeset 3479 in josm for trunk/src/org/openstreetmap/josm/data/oauth
- Timestamp:
- 2010-08-29T14:55:25+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r3425 r3479 6 6 import oauth.signpost.basic.DefaultOAuthConsumer; 7 7 import oauth.signpost.basic.DefaultOAuthProvider; 8 import oauth.signpost.signature.HmacSha1MessageSigner;9 8 10 9 import org.openstreetmap.josm.data.Preferences; … … 13 12 /** 14 13 * This class manages a set of OAuth parameters. 15 * 14 * 16 15 */ 17 16 public class OAuthParameters { … … 27 26 * Replies a set of default parameters for a consumer accessing the standard OSM server 28 27 * at http://api.openstreetmap.org/api 29 * 28 * 30 29 * @return a set of default parameters 31 30 */ … … 42 41 /** 43 42 * Replies a set of parameters as defined in the preferences. 44 * 43 * 45 44 * @param pref the preferences 46 45 * @return the parameters … … 61 60 /** 62 61 * Clears the preferences for OAuth parameters 63 * 62 * 64 63 * @param pref the preferences in which keys related to OAuth parameters are 65 64 * removed … … 84 83 /** 85 84 * Creates a clone of the parameters in <code>other</code>. 86 * 85 * 87 86 * @param other the other parameters. Must not be null. 88 87 * @throws IllegalArgumentException thrown if other is null … … 130 129 /** 131 130 * Builds an {@see OAuthConsumer} based on these parameters 132 * 131 * 133 132 * @return the consumer 134 133 */ … … 140 139 /** 141 140 * Builds an {@see OAuthProvider} based on these parameters and a OAuth consumer <code>consumer</code>. 142 * 141 * 143 142 * @param consumer the consumer. Must not be null. 144 143 * @return the provider
Note: See TracChangeset
for help on using the changeset viewer.