public static interface OsmConnection.OAuthAccessTokenFetcher
Modifier and Type | Method and Description |
---|---|
void |
obtainAccessToken(java.net.URL serverUrl)
Obtains an OAuth access token for the connection.
|
void obtainAccessToken(java.net.URL serverUrl) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
OAuthAccessTokenHolder
.serverUrl
- the URL to OSM serverjava.lang.InterruptedException
- if we're interrupted while waiting for the event dispatching thread to finish OAuth authorization taskjava.lang.reflect.InvocationTargetException
- if an exception is thrown while running OAuth authorization task