Uses of Interface
org.openstreetmap.josm.data.oauth.IOAuthToken
-
Packages that use IOAuthToken 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 IOAuthToken in org.openstreetmap.josm.data.oauth
Classes in org.openstreetmap.josm.data.oauth that implement IOAuthToken Modifier and Type Class Description class
OAuth20Token
Token holder for OAuth 2.0Fields in org.openstreetmap.josm.data.oauth with type parameters of type IOAuthToken Modifier and Type Field Description private java.util.function.Consumer<java.util.Optional<IOAuthToken>>
OAuth20Authorization.OAuth20AuthorizationHandler. consumer
private java.util.Map<java.lang.String,java.util.Map<OAuthVersion,IOAuthToken>>
OAuthAccessTokenHolder. tokenMap
Methods in org.openstreetmap.josm.data.oauth that return IOAuthToken Modifier and Type Method Description IOAuthToken
OAuthAccessTokenHolder. getAccessToken(java.lang.String api, OAuthVersion version)
Replies the access token.Methods in org.openstreetmap.josm.data.oauth with parameters of type IOAuthToken Modifier and Type Method Description void
OAuthAccessTokenHolder. setAccessToken(java.lang.String api, IOAuthToken token)
Sets the access token hold by this holder.Method parameters in org.openstreetmap.josm.data.oauth with type arguments of type IOAuthToken Modifier and Type Method Description void
IOAuthAuthorization. authorize(IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer, java.lang.Enum<?>... scopes)
Perform the authorization dancevoid
OAuth20Authorization. authorize(IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer, java.lang.Enum<?>... scopes)
Constructor parameters in org.openstreetmap.josm.data.oauth with type arguments of type IOAuthToken Constructor Description OAuth20AuthorizationHandler(java.lang.String state, java.lang.String codeVerifier, IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer)
-
Uses of IOAuthToken in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as IOAuthToken Modifier and Type Field Description private IOAuthToken
AbstractAuthorizationUI. accessToken
private IOAuthToken
TestAccessTokenTask. tokenOAuth2
Methods in org.openstreetmap.josm.gui.oauth that return IOAuthToken Modifier and Type Method Description IOAuthToken
AbstractAuthorizationUI. getAccessToken()
Replies the retrieved Access Token.IOAuthToken
OAuthAuthorizationWizard. getAccessToken()
Replies the Access Token entered using the wizardMethods in org.openstreetmap.josm.gui.oauth with parameters of type IOAuthToken Modifier and Type Method Description protected void
AbstractAuthorizationUI. fireAccessTokenChanged(IOAuthToken oldValue, IOAuthToken newValue)
protected void
AbstractAuthorizationUI. setAccessToken(IOAuthToken accessToken)
Sets the current Access Token.void
AccessTokenInfoPanel. setAccessToken(IOAuthToken token)
Displays the key and secret intoken
.protected void
FullyAutomaticAuthorizationUI. setAccessToken(IOAuthToken accessToken)
void
OAuthAuthorizationWizard.AcceptAccessTokenAction. updateEnabledState(IOAuthToken token)
Update the enabled stateMethod parameters in org.openstreetmap.josm.gui.oauth with type arguments of type IOAuthToken Modifier and Type Method Description (package private) static void
OAuthAuthorizationWizard. authorize(boolean startRemoteControl, java.util.function.Consumer<java.util.Optional<IOAuthToken>> callback, java.lang.String apiUrl, OAuthVersion oAuthVersion, IOAuthParameters oAuthParameters)
Perform the oauth dancevoid
OAuthAuthorizationWizard. showDialog(java.util.function.Consumer<java.util.Optional<IOAuthToken>> callback)
Launches the wizard,OAuthAccessTokenHolder.setAccessToken(String, IOAuthToken)
sets the token andsaves to preferences
.Constructors in org.openstreetmap.josm.gui.oauth with parameters of type IOAuthToken Constructor Description TestAccessTokenTask(java.awt.Component parent, java.lang.String apiUrl, IOAuthToken accessToken)
Create the task -
Uses of IOAuthToken in org.openstreetmap.josm.io.auth
Methods in org.openstreetmap.josm.io.auth that return IOAuthToken Modifier and Type Method Description IOAuthToken
CredentialsAgent. lookupOAuthAccessToken(java.lang.String host)
Lookup the current OAuth Access Token to access the specified server.IOAuthToken
CredentialsManager. lookupOAuthAccessToken(java.lang.String host)
IOAuthToken
JosmPreferencesCredentialAgent. lookupOAuthAccessToken(java.lang.String host)
Methods in org.openstreetmap.josm.io.auth with parameters of type IOAuthToken Modifier and Type Method Description void
CredentialsAgent. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)
Stores the OAuth Access TokenaccessToken
.void
CredentialsManager. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)
void
JosmPreferencesCredentialAgent. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)
-