Authenticationpublic class ApiKeyAuth extends Object implements Authentication
| Constructor | Description |
|---|---|
ApiKeyAuth(String location,
String paramName) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
applyToParams(List<Pair> queryParams,
Map<String,String> headerParams) |
Apply authentication settings to header and query params.
|
String |
getApiKey() |
|
String |
getApiKeyPrefix() |
|
String |
getLocation() |
|
String |
getParamName() |
|
void |
setApiKey(String apiKey) |
|
void |
setApiKeyPrefix(String apiKeyPrefix) |
public String getLocation()
public String getParamName()
public String getApiKey()
public void setApiKey(String apiKey)
public String getApiKeyPrefix()
public void setApiKeyPrefix(String apiKeyPrefix)
public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams)
AuthenticationapplyToParams in interface AuthenticationqueryParams - List of query parametersheaderParams - Map of header parametersCopyright © 2025. All rights reserved.