Uses of Class
cloud.opencode.base.oauth2.OAuth2Client.Builder
Packages that use OAuth2Client.Builder
-
Uses of OAuth2Client.Builder in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 that return OAuth2Client.BuilderModifier and TypeMethodDescriptionstatic OAuth2Client.BuilderCreate an Apple OAuth2 client builder 创建 Apple OAuth2 客户端构建器static OAuth2Client.BuilderOAuth2Client.builder()Create a new builder 创建新的构建器static OAuth2Client.BuilderOpenOAuth2.client()Create a custom OAuth2 client builder 创建自定义 OAuth2 客户端构建器static OAuth2Client.BuilderOpenOAuth2.client(OAuth2Provider provider) Create an OAuth2 client builder with a custom provider 使用自定义提供者创建 OAuth2 客户端构建器Set the client ID 设置客户端 IDOAuth2Client.Builder.clientSecret(String clientSecret) Set the client secret 设置客户端密钥OAuth2Client.Builder.config(OAuth2Config config) Set the configuration 设置配置static OAuth2Client.BuilderCreate a Facebook OAuth2 client builder 创建 Facebook OAuth2 客户端构建器static OAuth2Client.BuilderCreate a GitHub OAuth2 client builder 创建 GitHub OAuth2 客户端构建器static OAuth2Client.BuilderCreate a Google OAuth2 client builder 创建 Google OAuth2 客户端构建器Set the grant type 设置授权类型OAuth2Client.Builder.httpClient(OAuth2HttpClient httpClient) Set the HTTP client 设置 HTTP 客户端static OAuth2Client.BuilderCreate a Microsoft OAuth2 client builder 创建 Microsoft OAuth2 客户端构建器static OAuth2Client.BuilderCreate a Microsoft OAuth2 client builder for a specific tenant 为特定租户创建 Microsoft OAuth2 客户端构建器OAuth2Client.Builder.provider(OAuth2Provider provider) Set the provider 设置提供者OAuth2Client.Builder.redirectUri(String redirectUri) Set the redirect URI 设置重定向 URIAdd scopes 添加权限范围OAuth2Client.Builder.tokenStore(TokenStore tokenStore) Set the token store 设置 Token 存储