Ignore:
Timestamp:
2014-02-12T20:52:31+01:00 (10 years ago)
Author:
Don-vip
Message:

see #9710 - OAuth advanced parameters persistence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r6599 r6847  
    235235    }
    236236
    237     /**
    238      * Saves these OAuth parameters to the given {@code Preferences}.
    239      * @param pref The Preferences into which are saved these OAuth parameters with the prefix "oauth.settings"
    240      */
    241     public void saveToPreferences(Preferences pref) {
    242         pref.put("oauth.settings.consumer-key", consumerKey);
    243         pref.put("oauth.settings.consumer-secret", consumerSecret);
    244         pref.put("oauth.settings.request-token-url", requestTokenUrl);
    245         pref.put("oauth.settings.access-token-url", accessTokenUrl);
    246         pref.put("oauth.settings.authorise-url", authoriseUrl);
    247     }
    248 
    249237    @Override
    250238    public int hashCode() {
Note: See TracChangeset for help on using the changeset viewer.