@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ApiKeyAuth extends Object implements Authentication
Constructor and Description |
---|
ApiKeyAuth(String location,
String paramName) |
Modifier and Type | Method and Description |
---|---|
void |
applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams,
String payload,
String method,
URI uri)
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, Map<String,String> cookieParams, String payload, String method, URI uri) throws ApiException
Authentication
applyToParams
in interface Authentication
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parameterspayload
- HTTP request bodymethod
- HTTP methoduri
- URIApiException
- if failed to update the parametersCopyright © 2023. All rights reserved.