Package dev.vality.swag.messages.auth
Class ApiKeyAuth
java.lang.Object
dev.vality.swag.messages.auth.ApiKeyAuth
- All Implemented Interfaces:
Authentication
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2022-04-07T11:18:38.420741903Z[Etc/UTC]")
public class ApiKeyAuth
extends Object
implements Authentication
-
Constructor Summary
Constructors Constructor Description ApiKeyAuth(String location, String paramName) -
Method Summary
Modifier and Type Method Description voidapplyToParams(org.springframework.util.MultiValueMap<String,String> queryParams, org.springframework.http.HttpHeaders headerParams)Apply authentication settings to header and / or query parameters.StringgetApiKey()StringgetApiKeyPrefix()StringgetLocation()StringgetParamName()voidsetApiKey(String apiKey)voidsetApiKeyPrefix(String apiKeyPrefix)
-
Constructor Details
-
ApiKeyAuth
-
-
Method Details
-
getLocation
-
getParamName
-
getApiKey
-
setApiKey
-
getApiKeyPrefix
-
setApiKeyPrefix
-
applyToParams
public void applyToParams(org.springframework.util.MultiValueMap<String,String> queryParams, org.springframework.http.HttpHeaders headerParams)Description copied from interface:AuthenticationApply authentication settings to header and / or query parameters.- Specified by:
applyToParamsin interfaceAuthentication- Parameters:
queryParams- The query parameters for the requestheaderParams- The header parameters for the request
-