source: josm/trunk/src/org/openstreetmap/josm/gui/oauth/AuthorizationProcedure.java@ 12544

Last change on this file since 12544 was 3083, checked in by bastiK, 14 years ago

added svn:eol-style=native to source files

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.oauth;
3
4public enum AuthorizationProcedure {
5 /**
6 * Run a fully automatic procedure to get an access token from the OSM website.
7 * JOSM accesses the OSM website on behalf of the JOSM user and interacts
8 * with the site using an OSM session, form posting and screen scraping.
9 */
10 FULLY_AUTOMATIC,
11
12 /**
13 * Run a semi-automatic procedure to get an access token from the OSM website.
14 * JOSM submits the standards OAuth requests to get a Request Token and an
15 * Access Token. It dispatches the user to the OSM website in an external browser
16 * to authenticate itself and to accept the request token submitted by JOSM.
17 */
18 SEMI_AUTOMATIC,
19
20 /**
21 * Enter an Access Token manually. The Access Token could have been generated
22 * by another JOSM user and sent to the current JOSM user via email, i.e. in order
23 * to grant the current OSM user the right download its private GPS traces. Or it could
24 * have been generated in a former session and filed away in a secure place.
25 */
26 MANUALLY
27}
Note: See TracBrowser for help on using the repository browser.