Uses of Enum Class
org.openstreetmap.josm.data.oauth.OAuthVersion
Packages that use OAuthVersion
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 JOSM input/output support.
-
Uses of OAuthVersion in org.openstreetmap.josm.data.oauth
Fields in org.openstreetmap.josm.data.oauth with type parameters of type OAuthVersionModifier and TypeFieldDescriptionprivate final Map<String,Map<OAuthVersion, IOAuthToken>> OAuthAccessTokenHolder.tokenMapMethods in org.openstreetmap.josm.data.oauth that return OAuthVersionModifier and TypeMethodDescriptionIOAuthToken.getOAuthType()Get the auth type of this tokenOAuth20Token.getOAuthType()IOAuthParameters.getOAuthVersion()Get the OAuth version that the API expectsOAuth20Parameters.getOAuthVersion()(package private) OAuthVersion[]OAuth20Exception.getOAuthVersions()(package private) abstract OAuthVersion[]OAuthException.getOAuthVersions()static OAuthVersionReturns the enum constant of this class with the specified name.static OAuthVersion[]OAuthVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openstreetmap.josm.data.oauth with parameters of type OAuthVersionModifier and TypeMethodDescriptionstatic IOAuthParametersOAuthParameters.createDefault(String apiUrl, OAuthVersion oAuthVersion) Replies a set of default parameters for a consumer accessing an OSM server at the given API url.static IOAuthParametersOAuthParameters.createFromApiUrl(String apiUrl, OAuthVersion oAuthVersion) Replies a set of parameters as defined in the preferences: the parameters of the access token of the server, otherwise the parameters the user entered, unless the server is set touse the default parameters, otherwise thedefault parameters.OAuthAccessTokenHolder.getAccessToken(String api, OAuthVersion version) Replies the access token. -
Uses of OAuthVersion in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as OAuthVersionModifier and TypeFieldDescriptionprivate final OAuthVersionAdvancedOAuthPropertiesPanel.oauthVersionConstructors in org.openstreetmap.josm.gui.oauth with parameters of type OAuthVersionModifierConstructorDescriptionAdvancedOAuthPropertiesPanel(OAuthVersion oauthVersion) Constructs a newAdvancedOAuthPropertiesPanel. -
Uses of OAuthVersion in org.openstreetmap.josm.gui.preferences.server
Fields in org.openstreetmap.josm.gui.preferences.server declared as OAuthVersionModifier and TypeFieldDescriptionprivate final OAuthVersionOAuthAuthenticationPreferencesPanel.oAuthVersionConstructors in org.openstreetmap.josm.gui.preferences.server with parameters of type OAuthVersionModifierConstructorDescriptionOAuthAuthenticationPreferencesPanel(OAuthVersion oAuthVersion) Create the panel. -
Uses of OAuthVersion in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io that return OAuthVersionModifier and TypeMethodDescriptionstatic OAuthVersionOsmApi.getAuthMethodVersion()Returns the authentication method set in the preferencesMethods in org.openstreetmap.josm.io with parameters of type OAuthVersionModifier and TypeMethodDescriptionstatic booleanOsmApi.isUsingOAuth(OAuthVersion version) Determines if JOSM is configured to access OSM API via OAuth