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 classOAuth20TokenToken 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. consumerprivate java.util.Map<java.lang.String,java.util.Map<OAuthVersion,IOAuthToken>>OAuthAccessTokenHolder. tokenMapMethods in org.openstreetmap.josm.data.oauth that return IOAuthToken Modifier and Type Method Description IOAuthTokenOAuthAccessTokenHolder. 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 voidOAuthAccessTokenHolder. 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 voidIOAuthAuthorization. authorize(IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer, java.lang.Enum<?>... scopes)Perform the authorization dancevoidOAuth20Authorization. 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 IOAuthTokenAbstractAuthorizationUI. accessTokenprivate IOAuthTokenTestAccessTokenTask. tokenOAuth2Methods in org.openstreetmap.josm.gui.oauth that return IOAuthToken Modifier and Type Method Description IOAuthTokenAbstractAuthorizationUI. getAccessToken()Replies the retrieved Access Token.IOAuthTokenOAuthAuthorizationWizard. 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 voidAbstractAuthorizationUI. fireAccessTokenChanged(IOAuthToken oldValue, IOAuthToken newValue)protected voidAbstractAuthorizationUI. setAccessToken(IOAuthToken accessToken)Sets the current Access Token.voidAccessTokenInfoPanel. setAccessToken(IOAuthToken token)Displays the key and secret intoken.protected voidFullyAutomaticAuthorizationUI. setAccessToken(IOAuthToken accessToken)voidOAuthAuthorizationWizard.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 voidOAuthAuthorizationWizard. authorize(boolean startRemoteControl, java.util.function.Consumer<java.util.Optional<IOAuthToken>> callback, java.lang.String apiUrl, OAuthVersion oAuthVersion, IOAuthParameters oAuthParameters)Perform the oauth dancevoidOAuthAuthorizationWizard. 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 IOAuthTokenCredentialsAgent. lookupOAuthAccessToken(java.lang.String host)Lookup the current OAuth Access Token to access the specified server.IOAuthTokenCredentialsManager. lookupOAuthAccessToken(java.lang.String host)IOAuthTokenJosmPreferencesCredentialAgent. lookupOAuthAccessToken(java.lang.String host)Methods in org.openstreetmap.josm.io.auth with parameters of type IOAuthToken Modifier and Type Method Description voidCredentialsAgent. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)Stores the OAuth Access TokenaccessToken.voidCredentialsManager. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)voidJosmPreferencesCredentialAgent. storeOAuthAccessToken(java.lang.String host, IOAuthToken accessToken)
-