Package org.openapitools.client.auth
Class ApiKeyAuth
java.lang.Object
org.openapitools.client.auth.ApiKeyAuth
- All Implemented Interfaces:
Authentication
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-22T02:16:26.710079594Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ApiKeyAuth
extends Object
implements Authentication
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
location
-
paramName
-
apiKey
-
apiKeyPrefix
-
-
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- HTTP request bodymethod- HTTP methoduri- URI- Throws:
ApiException- if failed to update the parameters
-