Uses of Class
org.openstreetmap.josm.data.oauth.OAuthToken
-
Packages that use OAuthToken Package Description org.openstreetmap.josm.data.oauth Provides the classes for OAuth authentication to OSM.org.openstreetmap.josm.gui.oauth Provides GUI classes for handling OAuth authentication to OSM API.org.openstreetmap.josm.io.auth Provides the classes for authentication I/O. -
-
Uses of OAuthToken in org.openstreetmap.josm.data.oauth
Methods in org.openstreetmap.josm.data.oauth that return OAuthToken Modifier and Type Method Description static OAuthToken
OAuthToken. createToken(oauth.signpost.OAuthConsumer consumer)
Creates an OAuthToken from the token currently managed by theOAuthConsumer
.OAuthToken
OAuthAccessTokenHolder. getAccessToken()
Replies the access token.Methods in org.openstreetmap.josm.data.oauth with parameters of type OAuthToken Modifier and Type Method Description void
OAuthAccessTokenHolder. setAccessToken(OAuthToken token)
Sets the access token hold by this holder.Constructors in org.openstreetmap.josm.data.oauth with parameters of type OAuthToken Constructor Description OAuthToken(OAuthToken other)
Creates a clone of another token -
Uses of OAuthToken in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as OAuthToken Modifier and Type Field Description private OAuthToken
AbstractAuthorizationUI. accessToken
private OAuthToken
RetrieveAccessTokenTask. accessToken
private OAuthToken
RetrieveAccessTokenTask. requestToken
private OAuthToken
RetrieveRequestTokenTask. requestToken
private OAuthToken
SemiAutomaticAuthorizationUI. requestToken
private OAuthToken
TestAccessTokenTask. token
Methods in org.openstreetmap.josm.gui.oauth that return OAuthToken Modifier and Type Method Description OAuthToken
AbstractAuthorizationUI. getAccessToken()
Replies the retrieved Access Token.OAuthToken
OAuthAuthorizationWizard. getAccessToken()
Replies the Access Token entered using the wizardOAuthToken
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
RetrieveAccessTokenTask. getAccessToken()
Replies the retrieved Access 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.OAuthToken
RetrieveRequestTokenTask. getRequestToken()
Replies the request token.Methods in org.openstreetmap.josm.gui.oauth with parameters of type OAuthToken Modifier and Type Method Description void
OsmOAuthAuthorizationClient. authorise(OAuthToken requestToken, String userName, String password, OsmPrivileges privileges, ProgressMonitor monitor)
Automatically authorises a request token for a set of privileges.protected void
OsmOAuthAuthorizationClient. fetchOAuthToken(OsmOAuthAuthorizationClient.SessionId sessionId, OAuthToken requestToken)
Submits a request to the OSM website for a OAuth form.protected void
AbstractAuthorizationUI. fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue)
String
OsmOAuthAuthorizationClient. getAuthoriseUrl(OAuthToken requestToken)
Builds the authorise URL for a given Request Token.protected void
OsmOAuthAuthorizationClient. sendAuthorisationRequest(OsmOAuthAuthorizationClient.SessionId sessionId, OAuthToken requestToken, OsmPrivileges privileges)
protected void
AbstractAuthorizationUI. setAccessToken(OAuthToken accessToken)
Sets the current Access Token.void
AccessTokenInfoPanel. setAccessToken(OAuthToken token)
Displays the key and secret intoken
.protected void
FullyAutomaticAuthorizationUI. setAccessToken(OAuthToken accessToken)
void
SemiAutomaticAuthorizationUI.ShowAccessTokenPanel. setAccessToken(OAuthToken accessToken)
void
OAuthAuthorizationWizard.AcceptAccessTokenAction. updateEnabledState(OAuthToken token)
Constructors in org.openstreetmap.josm.gui.oauth with parameters of type OAuthToken Constructor Description OsmOAuthAuthorizationClient(OAuthParameters parameters, OAuthToken requestToken)
Creates a new authorisation client with the parametersparameters
and an already known Request Token.RetrieveAccessTokenTask(Component parent, OAuthParameters parameters, OAuthToken requestToken)
Creates the taskTestAccessTokenTask(Component parent, String apiUrl, OAuthParameters parameters, OAuthToken accessToken)
Create the task -
Uses of OAuthToken in org.openstreetmap.josm.io.auth
Methods in org.openstreetmap.josm.io.auth that return OAuthToken Modifier and Type Method Description OAuthToken
CredentialsAgent. lookupOAuthAccessToken()
Lookup the current OAuth Access Token to access the OSM server.OAuthToken
CredentialsManager. lookupOAuthAccessToken()
OAuthToken
JosmPreferencesCredentialAgent. lookupOAuthAccessToken()
Lookup the current OAuth Access Token to access the OSM server.Methods in org.openstreetmap.josm.io.auth with parameters of type OAuthToken Modifier and Type Method Description void
CredentialsAgent. storeOAuthAccessToken(OAuthToken accessToken)
Stores the OAuth Access TokenaccessToken
.void
CredentialsManager. storeOAuthAccessToken(OAuthToken accessToken)
void
JosmPreferencesCredentialAgent. storeOAuthAccessToken(OAuthToken accessToken)
Stores the OAuth Access TokenaccessToken
.
-