source: josm/trunk/src/org/openstreetmap/josm/data/oauth/osm/OsmScopes.java@ 18650

Last change on this file since 18650 was 18650, checked in by taylor.smock, 2 years ago

Fix #20768: Add OAuth 2.0 support

This also fixes #21607: authentication buttons are unavailable when credentials
are set.

File size: 522 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.oauth.osm;
3
4/**
5 * The possible scopes for OSM
6 * @author Taylor Smock
7 * @since 18650
8 */
9public enum OsmScopes {
10 /** Read user preferences */
11 read_prefs,
12 /** Modify user preferences */
13 write_prefs,
14 /** Write diary posts */
15 write_diary,
16 /** Modify the map */
17 write_api,
18 /** Read private GPS traces */
19 read_gpx,
20 /** Upload GPS traces */
21 write_gpx,
22 /** Modify notes */
23 write_notes
24}
Note: See TracBrowser for help on using the repository browser.