Uses of Interface
org.openstreetmap.josm.data.oauth.IOAuthParameters
-
Packages that use IOAuthParameters 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 Provides the classes for JOSM input/output support. -
-
Uses of IOAuthParameters in org.openstreetmap.josm.data.oauth
Classes in org.openstreetmap.josm.data.oauth that implement IOAuthParameters Modifier and Type Class Description class
OAuth20Parameters
Parameters for OAuth 2.0Fields in org.openstreetmap.josm.data.oauth declared as IOAuthParameters Modifier and Type Field Description private IOAuthParameters
OAuth20Token. oauthParameters
private IOAuthParameters
OAuth20Authorization.OAuth20AuthorizationHandler. parameters
Methods in org.openstreetmap.josm.data.oauth that return IOAuthParameters Modifier and Type Method Description static IOAuthParameters
OAuthParameters. createDefault()
Replies a set of default parameters for a consumer accessing the standard OSM server atIUrls.getDefaultOsmApiUrl()
.static IOAuthParameters
OAuthParameters. 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 IOAuthParameters
OAuthParameters. createFromApiUrl(java.lang.String apiUrl, OAuthVersion oAuthVersion)
Replies a set of parameters as defined in the preferences.IOAuthParameters
IOAuthToken. getParameters()
Get the OAuth parametersIOAuthParameters
OAuth20Token. getParameters()
Methods in org.openstreetmap.josm.data.oauth with parameters of type IOAuthParameters 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)
Constructors in org.openstreetmap.josm.data.oauth with parameters of type IOAuthParameters Constructor Description OAuth20AuthorizationHandler(java.lang.String state, java.lang.String codeVerifier, IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer)
OAuth20Token(IOAuthParameters oauthParameters, java.io.Reader bufferedReader)
OAuth20Token(IOAuthParameters oauthParameters, java.lang.String json)
Create a new OAuth token -
Uses of IOAuthParameters in org.openstreetmap.josm.gui.oauth
Methods in org.openstreetmap.josm.gui.oauth that return IOAuthParameters Modifier and Type Method Description IOAuthParameters
AdvancedOAuthPropertiesPanel. getAdvancedParameters()
Replies the OAuth parameters currently edited in this properties panel.IOAuthParameters
AbstractAuthorizationUI. getOAuthParameters()
Replies the current set of advanced OAuth parameters in this UIIOAuthParameters
OAuthAuthorizationWizard. getOAuthParameters()
Replies the current OAuth parameters.Methods in org.openstreetmap.josm.gui.oauth with parameters of type IOAuthParameters 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
AdvancedOAuthPropertiesPanel. setAdvancedParameters(IOAuthParameters parameters)
Sets the advanced parameters to be displayedConstructors in org.openstreetmap.josm.gui.oauth with parameters of type IOAuthParameters Constructor Description 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 IOAuthParameters in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as IOAuthParameters Modifier and Type Field Description protected IOAuthParameters
OsmConnection. oAuth20Parameters
-