Uses of Interface
org.openstreetmap.josm.data.oauth.IOAuthToken
Packages that use IOAuthToken
Package
Description
Provides the classes for OAuth authentication to OSM.
Provides GUI classes for handling OAuth 2.0 authentication to the OSM API.
Provides classes for handling connection preferences, including server authentication and proxy settings.
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 IOAuthTokenFields in org.openstreetmap.josm.data.oauth with type parameters of type IOAuthTokenModifier and TypeFieldDescriptionprivate final Consumer<Optional<IOAuthToken>>OAuth20Authorization.OAuth20AuthorizationHandler.consumerprivate final Map<String,Map<OAuthVersion, IOAuthToken>> OAuthAccessTokenHolder.tokenMapMethods in org.openstreetmap.josm.data.oauth that return IOAuthTokenModifier and TypeMethodDescriptionOAuthAccessTokenHolder.getAccessToken(String api, OAuthVersion version) Replies the access token.Methods in org.openstreetmap.josm.data.oauth with parameters of type IOAuthTokenModifier and TypeMethodDescriptionvoidOAuthAccessTokenHolder.setAccessToken(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 IOAuthTokenModifier and TypeMethodDescriptionvoidIOAuthAuthorization.authorize(IOAuthParameters parameters, Consumer<Optional<IOAuthToken>> consumer, Enum<?>... scopes) Perform the authorization dancevoidOAuth20Authorization.authorize(IOAuthParameters parameters, Consumer<Optional<IOAuthToken>> consumer, Enum<?>... scopes) Constructor parameters in org.openstreetmap.josm.data.oauth with type arguments of type IOAuthTokenModifierConstructorDescription(package private)OAuth20AuthorizationHandler(String state, String codeVerifier, IOAuthParameters parameters, Consumer<Optional<IOAuthToken>> consumer) -
Uses of IOAuthToken in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as IOAuthTokenConstructors in org.openstreetmap.josm.gui.oauth with parameters of type IOAuthTokenModifierConstructorDescriptionTestAccessTokenTask(Component parent, String apiUrl, IOAuthToken accessToken) Create the task -
Uses of IOAuthToken in org.openstreetmap.josm.gui.preferences.server
Methods in org.openstreetmap.josm.gui.preferences.server that return IOAuthTokenModifier and TypeMethodDescriptionprivate IOAuthTokenOAuthAuthenticationPreferencesPanel.getEnteredAccessToken()Get the access token entered in the advanced OAuth parameters: a token issued outside JOSM, pasted instead of authorizing JOSM. -
Uses of IOAuthToken in org.openstreetmap.josm.io.auth
Methods in org.openstreetmap.josm.io.auth that return IOAuthTokenModifier and TypeMethodDescriptionCredentialsAgent.lookupOAuthAccessToken(String host) Lookup the current OAuth Access Token to access the specified server.CredentialsManager.lookupOAuthAccessToken(String host) JosmPreferencesCredentialAgent.lookupOAuthAccessToken(String host) Methods in org.openstreetmap.josm.io.auth with parameters of type IOAuthTokenModifier and TypeMethodDescriptionvoidCredentialsAgent.storeOAuthAccessToken(String host, IOAuthToken accessToken) Stores the OAuth Access TokenaccessToken.voidCredentialsManager.storeOAuthAccessToken(String host, IOAuthToken accessToken) voidJosmPreferencesCredentialAgent.storeOAuthAccessToken(String host, IOAuthToken accessToken)