Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgent.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgent.java
r6830 r8291 28 28 * @param host the hostname for these credentials 29 29 * @return the credentials 30 * @throws CredentialsAgentException thrownif a problem occurs in a implementation of this interface30 * @throws CredentialsAgentException if a problem occurs in a implementation of this interface 31 31 */ 32 32 PasswordAuthentication lookup(RequestorType requestorType, String host) throws CredentialsAgentException; … … 39 39 * @param host the hostname for these credentials 40 40 * @param credentials the credentials 41 * @throws CredentialsAgentException thrownif a problem occurs in a implementation of this interface41 * @throws CredentialsAgentException if a problem occurs in a implementation of this interface 42 42 */ 43 43 void store(RequestorType requestorType, String host, PasswordAuthentication credentials) throws CredentialsAgentException; … … 50 50 * @param noSuccessWithLastResponse true, if the last request with the supplied credentials failed; false otherwise. 51 51 * If true, implementations of this interface are advised to prompt the user for new credentials. 52 * @throws CredentialsAgentException thrownif a problem occurs in a implementation of this interface52 * @throws CredentialsAgentException if a problem occurs in a implementation of this interface 53 53 54 54 */ … … 60 60 * 61 61 * @return the current OAuth Access Token to access the OSM server. 62 * @throws CredentialsAgentException thrownif something goes wrong62 * @throws CredentialsAgentException if something goes wrong 63 63 */ 64 64 OAuthToken lookupOAuthAccessToken() throws CredentialsAgentException; … … 68 68 * 69 69 * @param accessToken the access Token. null, to remove the Access Token. 70 * @throws CredentialsAgentException thrownif something goes wrong70 * @throws CredentialsAgentException if something goes wrong 71 71 */ 72 72 void storeOAuthAccessToken(OAuthToken accessToken) throws CredentialsAgentException;
Note:
See TracChangeset
for help on using the changeset viewer.