Uses of Class
cloud.opencode.base.oauth2.oidc.OidcToken
Packages that use OidcToken
-
Uses of OidcToken in cloud.opencode.base.oauth2.oidc
Methods in cloud.opencode.base.oauth2.oidc that return OidcTokenModifier and TypeMethodDescriptionOidcClient.exchangeCode(String code) Exchange authorization code for OIDC token 使用授权码交换 OIDC 令牌OidcClient.exchangeCode(String code, String codeVerifier) Exchange authorization code for OIDC token with PKCE verifier 使用授权码和 PKCE 验证器交换 OIDC 令牌OidcClient.exchangeCode(String code, String codeVerifier, String expectedNonce) Exchange authorization code for OIDC token with validation 使用授权码交换带有验证的 OIDC 令牌static OidcTokenOidcToken.from(OAuth2Token oauth2Token) Create from OAuth2 token by parsing the ID token 通过解析 ID Token 从 OAuth2 令牌创建OidcClient.getValidToken(String key) Get a valid OIDC token, refreshing if necessary 获取有效的 OIDC 令牌,必要时刷新OidcClient.refreshToken(OidcToken token) Refresh an OIDC token 刷新 OIDC 令牌Methods in cloud.opencode.base.oauth2.oidc that return types with arguments of type OidcTokenModifier and TypeMethodDescriptionOidcClient.getStoredToken(String key) Get a stored token 获取存储的令牌Methods in cloud.opencode.base.oauth2.oidc with parameters of type OidcTokenModifier and TypeMethodDescriptionOidcClient.getUserInfo(OidcToken token) Get user info 获取用户信息OidcClient.refreshToken(OidcToken token) Refresh an OIDC token 刷新 OIDC 令牌voidOidcClient.storeToken(String key, OidcToken token) Store a token 存储令牌voidOidcClient.validateIdToken(OidcToken token, String expectedNonce) Validate ID token 验证 ID Token