Uses of Class
org.openstreetmap.josm.data.oauth.OAuthVersion
-
Packages that use OAuthVersion 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.gui.preferences.server Provides classes for handling connection preferences, including server authentication and proxy settings.org.openstreetmap.josm.io 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 OAuthVersion Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.Map<OAuthVersion,IOAuthToken>>OAuthAccessTokenHolder. tokenMapMethods in org.openstreetmap.josm.data.oauth that return OAuthVersion Modifier and Type Method Description OAuthVersionIOAuthToken. getOAuthType()Get the auth type of this tokenOAuthVersionOAuth20Token. getOAuthType()OAuthVersionIOAuthParameters. getOAuthVersion()Get the OAuth version that the API expectsOAuthVersionOAuth20Parameters. getOAuthVersion()(package private) OAuthVersion[]OAuth20Exception. getOAuthVersions()(package private) abstract OAuthVersion[]OAuthException. getOAuthVersions()static OAuthVersionOAuthVersion. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OAuthVersion[]OAuthVersion. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.openstreetmap.josm.data.oauth with parameters of type OAuthVersion Modifier and Type Method Description static IOAuthParametersOAuthParameters. createDefault(java.lang.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(java.lang.String apiUrl, OAuthVersion oAuthVersion)Replies a set of parameters as defined in the preferences.IOAuthTokenOAuthAccessTokenHolder. getAccessToken(java.lang.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 OAuthVersion Modifier and Type Field Description private OAuthVersionAdvancedOAuthPropertiesPanel. oauthVersionprivate OAuthVersionOAuthAuthorizationWizard. oAuthVersionMethods in org.openstreetmap.josm.gui.oauth that return OAuthVersion Modifier and Type Method Description OAuthVersionAbstractAuthorizationUI. getOAuthVersion()Get the OAuth version for this AuthorizationUIMethods in org.openstreetmap.josm.gui.oauth with parameters of type OAuthVersion 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 danceConstructors in org.openstreetmap.josm.gui.oauth with parameters of type OAuthVersion Constructor Description AbstractAuthorizationUI(java.lang.String apiUrl, OAuthVersion oAuthVersion)Constructs a newAbstractAuthorizationUIfor the given API URL.AdvancedOAuthPropertiesPanel(OAuthVersion oauthVersion)Constructs a newAdvancedOAuthPropertiesPanel.FullyAutomaticAuthorizationUI(java.lang.String apiUrl, java.util.concurrent.Executor executor, OAuthVersion oAuthVersion)Constructs a newFullyAutomaticAuthorizationUIfor the given API URL.ManualAuthorizationUI(java.lang.String apiUrl, java.util.concurrent.Executor executor, OAuthVersion oAuthVersion)Constructs a newManualAuthorizationUIfor the given API URL.OAuthAuthorizationWizard(java.awt.Component parent, AuthorizationProcedure procedure, java.lang.String apiUrl, java.util.concurrent.Executor executor, OAuthVersion oAuthVersion, IOAuthParameters advancedParameters)Creates the wizard. -
Uses of OAuthVersion in org.openstreetmap.josm.gui.preferences.server
Fields in org.openstreetmap.josm.gui.preferences.server declared as OAuthVersion Modifier and Type Field Description private OAuthVersionOAuthAuthenticationPreferencesPanel. oAuthVersionConstructors in org.openstreetmap.josm.gui.preferences.server with parameters of type OAuthVersion Constructor Description OAuthAuthenticationPreferencesPanel(OAuthVersion oAuthVersion)Create the panel. -
Uses of OAuthVersion in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io that return OAuthVersion Modifier and Type Method Description static OAuthVersionOsmApi. getAuthMethodVersion()Returns the authentication method set in the preferencesMethods in org.openstreetmap.josm.io with parameters of type OAuthVersion Modifier and Type Method Description static booleanOsmApi. isUsingOAuth(OAuthVersion version)Determines if JOSM is configured to access OSM API via OAuth
-