Package | Description |
---|---|
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
org.openstreetmap.josm.io |
Modifier and Type | Method and Description |
---|---|
void |
OsmOAuthAuthorizationClient.authorise(OAuthToken requestToken,
java.lang.String userName,
java.lang.String password,
OsmPrivileges privileges,
ProgressMonitor monitor)
Automatically authorises a request token for a set of privileges.
|
OAuthToken |
OsmOAuthAuthorizationClient.getAccessToken(ProgressMonitor monitor)
Submits a request for an Access Token to the Access Token Endpoint Url of the OAuth Service
Provider and replies the request token.
|
OAuthToken |
OsmOAuthAuthorizationClient.getRequestToken(ProgressMonitor monitor)
Submits a request for a Request Token to the Request Token Endpoint Url of the OAuth Service
Provider and replies the request token.
|
Modifier and Type | Method and Description |
---|---|
void |
OsmApi.initialize(ProgressMonitor monitor)
Initializes this component by negotiating a protocol version with the server.
|
void |
OsmApi.initialize(ProgressMonitor monitor,
boolean fastFail)
Initializes this component by negotiating a protocol version with the server, with the ability to control the timeout.
|
private void |
OsmApi.sleepAndListen(int retry,
ProgressMonitor monitor) |