java.lang.Object
org.springframework.ai.huggingface.invoker.auth.ApiKeyAuth
All Implemented Interfaces:
Authentication

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-11-05T20:01:23.542620255Z[Etc/UTC]") public class ApiKeyAuth extends Object implements Authentication
  • Constructor Details

    • ApiKeyAuth

      public ApiKeyAuth(String location, String paramName)
  • Method Details

    • getLocation

      public String getLocation()
    • getParamName

      public String getParamName()
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getApiKeyPrefix

      public String getApiKeyPrefix()
    • setApiKeyPrefix

      public void setApiKeyPrefix(String apiKeyPrefix)
    • applyToParams

      public void applyToParams(org.springframework.util.MultiValueMap<String,String> queryParams, org.springframework.http.HttpHeaders headerParams)
      Description copied from interface: Authentication
      Apply authentication settings to header and / or query parameters.
      Specified by:
      applyToParams in interface Authentication
      Parameters:
      queryParams - The query parameters for the request
      headerParams - The header parameters for the request