Package | Description |
---|---|
org.openstreetmap.josm.io.auth |
Provides the classes for authentication I/O.
|
Modifier and Type | Method and Description |
---|---|
CredentialsAgentResponse |
CredentialsManager.getCredentials(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
boolean noSuccessWithLastResponse) |
CredentialsAgentResponse |
AbstractCredentialsAgent.getCredentials(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
boolean noSuccessWithLastResponse) |
CredentialsAgentResponse |
CredentialsAgent.getCredentials(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
boolean noSuccessWithLastResponse)
Returns the credentials needed to to access host.
|
java.net.PasswordAuthentication |
CredentialsManager.lookup(java.net.Authenticator.RequestorType requestorType,
java.lang.String host) |
java.net.PasswordAuthentication |
JosmPreferencesCredentialAgent.lookup(java.net.Authenticator.RequestorType requestorType,
java.lang.String host) |
java.net.PasswordAuthentication |
CredentialsAgent.lookup(java.net.Authenticator.RequestorType requestorType,
java.lang.String host)
Looks up the credentials for a given type.
|
OAuthToken |
CredentialsManager.lookupOAuthAccessToken() |
OAuthToken |
JosmPreferencesCredentialAgent.lookupOAuthAccessToken()
Lookup the current OAuth Access Token to access the OSM server.
|
OAuthToken |
CredentialsAgent.lookupOAuthAccessToken()
Lookup the current OAuth Access Token to access the OSM server.
|
void |
CredentialsManager.store(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
java.net.PasswordAuthentication credentials) |
void |
JosmPreferencesCredentialAgent.store(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
java.net.PasswordAuthentication credentials) |
void |
CredentialsAgent.store(java.net.Authenticator.RequestorType requestorType,
java.lang.String host,
java.net.PasswordAuthentication credentials)
Saves the credentials in
credentials for the given service type. |
void |
CredentialsManager.storeOAuthAccessToken(OAuthToken accessToken) |
void |
JosmPreferencesCredentialAgent.storeOAuthAccessToken(OAuthToken accessToken)
Stores the OAuth Access Token
accessToken . |
void |
CredentialsAgent.storeOAuthAccessToken(OAuthToken accessToken)
Stores the OAuth Access Token
accessToken . |