Uses of Class
cloud.opencode.base.oauth2.OAuth2Token.Builder
Packages that use OAuth2Token.Builder
-
Uses of OAuth2Token.Builder in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 that return OAuth2Token.BuilderModifier and TypeMethodDescriptionOAuth2Token.Builder.accessToken(String accessToken) Set the access token 设置访问令牌static OAuth2Token.BuilderOAuth2Token.builder()Create a new builder 创建新的构建器static OAuth2Token.BuilderOAuth2Token.builder(OAuth2Token token) Create a builder from existing token 从现有令牌创建构建器Set the expiration time 设置过期时间OAuth2Token.Builder.expiresIn(long seconds) Set expires in seconds from now 设置从现在起的过期秒数Set the ID token (OIDC) 设置 ID 令牌(OIDC)Set the issued at time 设置签发时间OAuth2Token.Builder.refreshToken(String refreshToken) Set the refresh token 设置刷新令牌Add a scope 添加权限范围Set the scopes 设置权限范围OAuth2Token.Builder.scopeString(String scopeString) Set scopes from space-separated string 从空格分隔的字符串设置权限范围Set the token type 设置令牌类型