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

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-12-24T16:12:56.524421357Z[Etc/UTC]") public class OAuth extends Object implements Authentication
  • Constructor Details

    • OAuth

      public OAuth()
  • Method Details

    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)
    • 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