Package | Description |
---|---|
org.openstreetmap.josm.data.oauth | |
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Method and Description |
---|---|
static OAuthParameters |
OAuthParameters.createDefault()
Replies a set of default parameters for a consumer accessing the standard OSM server
at
OsmApi.DEFAULT_API_URL . |
static OAuthParameters |
OAuthParameters.createDefault(java.lang.String apiUrl)
Replies a set of default parameters for a consumer accessing an OSM server
at the given API url.
|
static OAuthParameters |
OAuthParameters.createFromPreferences(Preferences pref)
Replies a set of parameters as defined in the preferences.
|
Constructor and Description |
---|
OAuthParameters(OAuthParameters other)
Creates a clone of the parameters in
other . |
Modifier and Type | Field and Description |
---|---|
private OAuthParameters |
TestAccessTokenTask.oauthParameters |
private OAuthParameters |
OsmOAuthAuthorizationClient.oauthProviderParameters |
private OAuthParameters |
RetrieveAccessTokenTask.parameters |
private OAuthParameters |
RetrieveRequestTokenTask.parameters |
Modifier and Type | Method and Description |
---|---|
OAuthParameters |
AdvancedOAuthPropertiesPanel.getAdvancedParameters()
Replies the OAuth parameters currently edited in this properties panel.
|
OAuthParameters |
OAuthAuthorizationWizard.getOAuthParameters()
Replies the current OAuth parameters.
|
OAuthParameters |
AbstractAuthorizationUI.getOAuthParameters()
Replies the current set of advanced OAuth parameters in this UI
|
Modifier and Type | Method and Description |
---|---|
void |
AdvancedOAuthPropertiesPanel.setAdvancedParameters(OAuthParameters parameters)
Sets the advanced parameters to be displayed
|
Constructor and Description |
---|
OsmOAuthAuthorizationClient(OAuthParameters parameters)
Creates a new authorisation client with the parameters
parameters . |
OsmOAuthAuthorizationClient(OAuthParameters parameters,
OAuthToken requestToken)
Creates a new authorisation client with the parameters
parameters
and an already known Request Token. |
RetrieveAccessTokenTask(java.awt.Component parent,
OAuthParameters parameters,
OAuthToken requestToken)
Creates the task
|
RetrieveRequestTokenTask(java.awt.Component parent,
OAuthParameters parameters)
Creates the task
|
TestAccessTokenTask(java.awt.Component parent,
java.lang.String apiUrl,
OAuthParameters parameters,
OAuthToken accessToken)
Create the task
|
Modifier and Type | Field and Description |
---|---|
protected OAuthParameters |
OsmConnection.oauthParameters |