com.afrigis.services.ext.AuthenticatedService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core Java library to ease use of AfriGIS Services
package com.afrigis.services.ext;
/**
*
* Services that required auth should implement this to signal to the factory
* that it needs to feed credentials in.
*
*
* Hint: this should be all the services
*
*
*
* Credentials can be obtained from the
* AfriGIS Developers
* Website
*
*
* @author hendrikc
*
*/
public interface AuthenticatedService {
/**
*
* Method by which implementors receive credentials.
*
*
* @param key
* the account key
* @param secret
* the account secret.
*/
void setCredentials(String key, byte[] secret);
}