Uses of Record Class
cloud.opencode.base.oauth2.OAuth2Config
Packages that use OAuth2Config
Package
Description
-
Uses of OAuth2Config in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 that return OAuth2ConfigModifier and TypeMethodDescriptionOAuth2Config.Builder.build()Build the OAuth2Config 构建 OAuth2ConfigOAuth2Client.config()Get the configuration 获取配置Methods in cloud.opencode.base.oauth2 with parameters of type OAuth2ConfigModifier and TypeMethodDescriptionOAuth2Client.Builder.config(OAuth2Config config) Set the configuration 设置配置static OAuth2ClientOpenOAuth2.fromConfig(OAuth2Config config) Create an OAuth2 client from configuration 从配置创建 OAuth2 客户端 -
Uses of OAuth2Config in cloud.opencode.base.oauth2.http
Methods in cloud.opencode.base.oauth2.http with parameters of type OAuth2ConfigModifier and TypeMethodDescriptionstatic OAuth2HttpClientHttpClientFactory.create(OAuth2Config config) Create an HTTP client from OAuth2 configuration 从 OAuth2 配置创建 HTTP 客户端Constructors in cloud.opencode.base.oauth2.http with parameters of type OAuth2ConfigModifierConstructorDescriptionOAuth2HttpClient(OAuth2Config config) Create a new OAuth2 HTTP client from config 从配置创建新的 OAuth2 HTTP 客户端 -
Uses of OAuth2Config in cloud.opencode.base.oauth2.provider
Methods in cloud.opencode.base.oauth2.provider that return OAuth2ConfigModifier and TypeMethodDescriptionCustomProvider.toConfig(String clientId, String clientSecret, String redirectUri, Set<String> additionalScopes, GrantType grantType) default OAuth2ConfigConvert this provider to an OAuth2Config 将此提供者转换为 OAuth2Configdefault OAuth2ConfigOAuth2Provider.toConfig(String clientId, String clientSecret, String redirectUri, Set<String> additionalScopes) Convert this provider to an OAuth2Config with additional scopes 将此提供者转换为带有额外权限范围的 OAuth2Configdefault OAuth2ConfigOAuth2Provider.toConfig(String clientId, String clientSecret, String redirectUri, Set<String> additionalScopes, GrantType grantType) Convert this provider to an OAuth2Config with custom settings 将此提供者转换为带有自定义设置的 OAuth2Config -
Uses of OAuth2Config in cloud.opencode.base.oauth2.token
Constructors in cloud.opencode.base.oauth2.token with parameters of type OAuth2ConfigModifierConstructorDescriptionTokenRefresher(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 刷新器