Changeset 18991 in josm for trunk/src/org/openstreetmap/josm/io/MessageNotifier.java
- Timestamp:
- 2024-02-21T21:26:18+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MessageNotifier.java
r18650 r18991 145 145 try { 146 146 if (JosmPreferencesCredentialAgent.class.equals(credManager.getCredentialsAgentClass())) { 147 if (OsmApi.isUsingOAuth(OAuthVersion.OAuth10a)) { 148 return credManager.lookupOAuthAccessToken() != null; 149 } else if (OsmApi.isUsingOAuth(OAuthVersion.OAuth20) || OsmApi.isUsingOAuth(OAuthVersion.OAuth21)) { 147 if (OsmApi.isUsingOAuth(OAuthVersion.OAuth20) || OsmApi.isUsingOAuth(OAuthVersion.OAuth21)) { 150 148 return credManager.lookupOAuthAccessToken(OsmApi.getOsmApi().getHost()) != null; 151 149 } else if (OsmApi.isUsingOAuth()) {
Note:
See TracChangeset
for help on using the changeset viewer.
