Package com.datadog.api.client.auth
Class ApiKeyAuth
java.lang.Object
com.datadog.api.client.auth.ApiKeyAuth
- All Implemented Interfaces:
Authentication
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApiKeyAuth
extends Object
implements Authentication
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ApiKeyAuth
-
-
Method Details
-
getLocation
-
getParamName
-
getApiKey
-
setApiKey
-
getApiKeyPrefix
-
setApiKeyPrefix
-
applyToParams
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, throws ApiExceptionString> cookieParams, String payload, String method, URI uri) Description copied from interface:AuthenticationApply authentication settings to header and query params.- Specified by:
applyToParamsin interfaceAuthentication- Parameters:
queryParams- List of query parametersheaderParams- Map of header parameterscookieParams- Map of cookie parameterspayload- Raw payloadmethod- HTTP method to authenticateuri- URI to authenticate- Throws:
ApiException- If the settings can't be applied
-