Class ApiKeyAuth
java.lang.Object
com.algorand.algosdk.algod.client.auth.ApiKeyAuth
- All Implemented Interfaces:
Authentication
@Deprecated public class ApiKeyAuth extends java.lang.Object implements Authentication
Deprecated.
-
Constructor Summary
Constructors Constructor Description ApiKeyAuth(java.lang.String location, java.lang.String paramName)
Deprecated. -
Method Summary
Modifier and Type Method Description void
applyToParams(java.util.List<Pair> queryParams, java.util.Map<java.lang.String,java.lang.String> headerParams)
Deprecated.Apply authentication settings to header and query params.java.lang.String
getApiKey()
Deprecated.java.lang.String
getApiKeyPrefix()
Deprecated.java.lang.String
getLocation()
Deprecated.java.lang.String
getParamName()
Deprecated.void
setApiKey(java.lang.String apiKey)
Deprecated.void
setApiKeyPrefix(java.lang.String apiKeyPrefix)
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ApiKeyAuth
public ApiKeyAuth(java.lang.String location, java.lang.String paramName)Deprecated.
-
-
Method Details
-
getLocation
public java.lang.String getLocation()Deprecated. -
getParamName
public java.lang.String getParamName()Deprecated. -
getApiKey
public java.lang.String getApiKey()Deprecated. -
setApiKey
public void setApiKey(java.lang.String apiKey)Deprecated. -
getApiKeyPrefix
public java.lang.String getApiKeyPrefix()Deprecated. -
setApiKeyPrefix
public void setApiKeyPrefix(java.lang.String apiKeyPrefix)Deprecated. -
applyToParams
public void applyToParams(java.util.List<Pair> queryParams, java.util.Map<java.lang.String,java.lang.String> headerParams)Deprecated.Description copied from interface:Authentication
Apply authentication settings to header and query params.- Specified by:
applyToParams
in interfaceAuthentication
- Parameters:
queryParams
- List of query parametersheaderParams
- Map of header parameters
-