Uses of Class
cloud.opencode.base.oauth2.OAuth2Config.Builder
Packages that use OAuth2Config.Builder
-
Uses of OAuth2Config.Builder in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 that return OAuth2Config.BuilderModifier and TypeMethodDescriptionOAuth2Config.Builder.authorizationEndpoint(String authorizationEndpoint) Set the authorization endpoint 设置授权端点static OAuth2Config.BuilderOAuth2Config.builder()Create a new builder 创建新的构建器Set the client ID 设置客户端 IDOAuth2Config.Builder.clientSecret(String clientSecret) Set the client secret 设置客户端密钥static OAuth2Config.BuilderOpenOAuth2.configBuilder()Create a new OAuth2 configuration builder 创建新的 OAuth2 配置构建器OAuth2Config.Builder.connectTimeout(Duration connectTimeout) Set the connect timeout 设置连接超时OAuth2Config.Builder.deviceAuthorizationEndpoint(String deviceAuthorizationEndpoint) Set the device authorization endpoint 设置设备授权端点Set the grant type 设置授权类型OAuth2Config.Builder.readTimeout(Duration readTimeout) Set the read timeout 设置读取超时OAuth2Config.Builder.redirectUri(String redirectUri) Set the redirect URI 设置重定向 URIOAuth2Config.Builder.refreshThreshold(Duration refreshThreshold) Set the refresh threshold 设置刷新阈值OAuth2Config.Builder.revocationEndpoint(String revocationEndpoint) Set the revocation endpoint 设置撤销端点Add a scope 添加权限范围Set the scopes 设置权限范围Set the scopes from a set 从集合设置权限范围OAuth2Config.Builder.tokenEndpoint(String tokenEndpoint) Set the token endpoint 设置令牌端点OAuth2Config.Builder.usePkce(boolean usePkce) Enable or disable PKCE 启用或禁用 PKCEOAuth2Config.Builder.userInfoEndpoint(String userInfoEndpoint) Set the user info endpoint 设置用户信息端点