Package com.cyberark.conjur.sdk.auth
Class ApiKeyAuth
java.lang.Object
com.cyberark.conjur.sdk.auth.ApiKeyAuth
- All Implemented Interfaces:
Authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) Apply authentication settings to header and query params.voidsetAccessToken(AccessToken token) voidvoidsetApiKeyPrefix(String apiKeyPrefix)
-
Constructor Details
-
ApiKeyAuth
-
-
Method Details
-
getLocation
-
getParamName
-
getApiKey
-
getAccessToken
-
setApiKey
-
getApiKeyPrefix
-
setApiKeyPrefix
-
setAccessToken
-
applyToParams
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) 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 parameters
-