Class OAuth
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-03-12T15:00:59.645979611-04:00[America/New_York]")
public class OAuth
extends Object
implements Authentication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToParams
(org.springframework.util.MultiValueMap<String, String> queryParams, org.springframework.http.HttpHeaders headerParams) Apply authentication settings to header and / or query parameters.void
setAccessToken
(String accessToken)
-
Constructor Details
-
OAuth
public OAuth()
-
-
Method Details
-
getAccessToken
-
setAccessToken
-
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 interfaceAuthentication
- Parameters:
queryParams
- The query parameters for the requestheaderParams
- The header parameters for the request
-