Uses of Class
cloud.opencode.base.oauth2.http.OAuth2HttpClient
Packages that use OAuth2HttpClient
Package
Description
-
Uses of OAuth2HttpClient in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 with parameters of type OAuth2HttpClientModifier and TypeMethodDescriptionOAuth2Client.Builder.httpClient(OAuth2HttpClient httpClient) Set the HTTP client 设置 HTTP 客户端 -
Uses of OAuth2HttpClient in cloud.opencode.base.oauth2.http
Methods in cloud.opencode.base.oauth2.http that return OAuth2HttpClientModifier and TypeMethodDescriptionHttpClientFactory.Builder.build()Build the HTTP client 构建 HTTP 客户端static OAuth2HttpClientHttpClientFactory.create()Create an HTTP client with default settings 使用默认设置创建 HTTP 客户端static OAuth2HttpClientHttpClientFactory.create(OAuth2Config config) Create an HTTP client from OAuth2 configuration 从 OAuth2 配置创建 HTTP 客户端static OAuth2HttpClientCreate an HTTP client with custom timeouts 使用自定义超时创建 HTTP 客户端static OAuth2HttpClientHttpClientFactory.shared()Get the shared HTTP client instance 获取共享的 HTTP 客户端实例 -
Uses of OAuth2HttpClient in cloud.opencode.base.oauth2.token
Constructors in cloud.opencode.base.oauth2.token with parameters of type OAuth2HttpClientModifierConstructorDescriptionTokenRefresher(OAuth2Config config, OAuth2HttpClient httpClient) Create a new token refresher 创建新的 Token 刷新器TokenRefresher(OAuth2Config config, OAuth2HttpClient httpClient, Duration refreshThreshold) Create a new token refresher with custom threshold 使用自定义阈值创建新的 Token 刷新器