Class ApiKeyAuth
-
- All Implemented Interfaces:
-
com.redhat.threescale.rest.cms.auth.Authentication
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ApiKeyAuth implements Authentication
-
-
Constructor Summary
Constructors Constructor Description ApiKeyAuth(String location, String paramName)
-
Method Summary
Modifier and Type Method Description StringgetLocation()StringgetParamName()StringgetApiKey()voidsetApiKey(String apiKey)StringgetApiKeyPrefix()voidsetApiKeyPrefix(String apiKeyPrefix)voidapplyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams)Apply authentication settings to header and query params. -
-
Method Detail
-
getLocation
String getLocation()
-
getParamName
String getParamName()
-
getApiKeyPrefix
String getApiKeyPrefix()
-
setApiKeyPrefix
void setApiKeyPrefix(String apiKeyPrefix)
-
applyToParams
void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams)
Apply authentication settings to header and query params.
- Parameters:
queryParams- List of query parametersheaderParams- Map of header parameterscookieParams- Map of cookie parameters
-
-
-
-