Class ApiKeyAuth
- java.lang.Object
- 
- com.algorand.algosdk.kmd.client.auth.ApiKeyAuth
 
- 
- All Implemented Interfaces:
- Authentication
 
 public class ApiKeyAuth extends Object implements Authentication 
- 
- 
Constructor SummaryConstructors Constructor Description ApiKeyAuth(String location, String paramName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToParams(List<Pair> queryParams, Map<String,String> headerParams)Apply authentication settings to header and query params.StringgetApiKey()StringgetApiKeyPrefix()StringgetLocation()StringgetParamName()voidsetApiKey(String apiKey)voidsetApiKeyPrefix(String apiKeyPrefix)
 
- 
- 
- 
Method Detail- 
getLocationpublic String getLocation() 
 - 
getParamNamepublic String getParamName() 
 - 
getApiKeypublic String getApiKey() 
 - 
setApiKeypublic void setApiKey(String apiKey) 
 - 
getApiKeyPrefixpublic String getApiKeyPrefix() 
 - 
setApiKeyPrefixpublic void setApiKeyPrefix(String apiKeyPrefix) 
 - 
applyToParamspublic void applyToParams(List<Pair> queryParams, Map<String,String> headerParams) Description copied from interface:AuthenticationApply authentication settings to header and query params.- Specified by:
- applyToParamsin interface- Authentication
- Parameters:
- queryParams- List of query parameters
- headerParams- Map of header parameters
 
 
- 
 
-