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

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-11-27T11:50:32.146359423Z[Etc/UTC]") public class HttpBasicAuth extends Object implements Authentication
  • Constructor Details

    • HttpBasicAuth

      public HttpBasicAuth()
  • Method Details

    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • 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