Class ApiKeyAuth

    • Constructor Detail

      • ApiKeyAuth

        public ApiKeyAuth​(String location,
                          String paramName)
        ApiKeyAuth constructor.
        Parameters:
        location - Sets location
        paramName - Sets paramName
    • Method Detail

      • getLocation

        public String getLocation()
        getLocation method.
        Returns:
        String
      • getParamName

        public String getParamName()
        getParamName method.
        Returns:
        String
      • getApiKey

        public String getApiKey()
        getApiKey method.
        Returns:
        String
      • setApiKey

        public void setApiKey​(String apiKey)
        setApiKey method.
        Parameters:
        apiKey - The apiKey
      • getApiKeyPrefix

        public String getApiKeyPrefix()
        getApiKeyPrefix method.
        Returns:
        String
      • setApiKeyPrefix

        public void setApiKeyPrefix​(String apiKeyPrefix)
        setApiKeyPrefix method.
        Parameters:
        apiKeyPrefix - The apiKeyPrefix
      • applyToParams

        public void applyToParams​(List<Pair> queryParams,
                                  Map<String,​String> headerParams)
        applyToParams method.
        Specified by:
        applyToParams in interface Authentication
        Parameters:
        queryParams - The query params
        headerParams - The header params