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="2024-12-04T04:53:25.428492722Z[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:Authentication
Apply authentication settings to header and query params.- Specified by:
applyToParams
in 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
-