Class OidcClient.Builder
java.lang.Object
cloud.opencode.base.oauth2.oidc.OidcClient.Builder
- Enclosing class:
OidcClient
OidcClient Builder
OidcClient 构建器
- Since:
- JDK 25, opencode-base-oauth2 V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the OidcClient 构建 OidcClientoauth2Client(OAuth2Client oauth2Client) Set the OAuth2 client 设置 OAuth2 客户端oidcConfig(OidcConfig oidcConfig) Set the OIDC configuration 设置 OIDC 配置ownedOAuth2Client(OAuth2Client oauth2Client) Set the OAuth2 client (owned) 设置 OAuth2 客户端(拥有)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
oauth2Client
Set the OAuth2 client 设置 OAuth2 客户端- Parameters:
oauth2Client- the OAuth2 client | OAuth2 客户端- Returns:
- this builder | 此构建器
-
ownedOAuth2Client
Set the OAuth2 client (owned) 设置 OAuth2 客户端(拥有)- Parameters:
oauth2Client- the OAuth2 client | OAuth2 客户端- Returns:
- this builder | 此构建器
-
oidcConfig
Set the OIDC configuration 设置 OIDC 配置- Parameters:
oidcConfig- the OIDC config | OIDC 配置- Returns:
- this builder | 此构建器
-
build
-