Package | Description |
---|---|
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
Modifier and Type | Class and Description |
---|---|
class |
OsmLoginFailedException
OSM login failure exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask.alertAuthorisationFailed(OsmOAuthAuthorizationException e) |
protected void |
RetrieveAccessTokenTask.alertRetrievingAccessTokenFailed(OsmOAuthAuthorizationException e) |
protected void |
RetrieveRequestTokenTask.alertRetrievingRequestTokenFailed(OsmOAuthAuthorizationException e) |
protected void |
FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask.handleException(OsmOAuthAuthorizationException e) |
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.
|
java.lang.String |
OsmOAuthAuthorizationClient.buildOsmLoginUrl()
Derives the OSM login URL from the OAuth Authorization Website URL
|
protected java.lang.String |
OsmOAuthAuthorizationClient.buildOsmLogoutUrl()
Derives the OSM logout URL from the OAuth Authorization Website URL
|
protected void |
OsmOAuthAuthorizationClient.fetchOAuthToken(OsmOAuthAuthorizationClient.SessionId sessionId,
OAuthToken requestToken)
Submits a request to the OSM website for a OAuth form.
|
protected OsmOAuthAuthorizationClient.SessionId |
OsmOAuthAuthorizationClient.fetchOsmWebsiteSessionId()
Submits a request to the OSM website for a login form.
|
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.
|
protected UserInfo |
TestAccessTokenTask.getUserDetails() |
protected void |
OsmOAuthAuthorizationClient.logoutOsmSession(OsmOAuthAuthorizationClient.SessionId sessionId) |
protected void |
OsmOAuthAuthorizationClient.sendAuthorisationRequest(OsmOAuthAuthorizationClient.SessionId sessionId,
OAuthToken requestToken,
OsmPrivileges privileges) |