Package com.fullcontact.apilib.auth
Class StaticApiKeyCredentialProvider
java.lang.Object
com.fullcontact.apilib.auth.StaticApiKeyCredentialProvider
- All Implemented Interfaces:
CredentialsProvider
public class StaticApiKeyCredentialProvider extends java.lang.Object implements CredentialsProvider
Static way of providing authentication
-
Constructor Summary
Constructors Constructor Description StaticApiKeyCredentialProvider(java.lang.String apiKey)Hardcoded key can be passed in the constructor -
Method Summary
-
Constructor Details
-
StaticApiKeyCredentialProvider
Hardcoded key can be passed in the constructor- Parameters:
apiKey- API key for auth- Throws:
FullContactException- if key is null or empty
-