Uses of Class
cloud.opencode.base.oauth2.exception.OAuth2Exception
Packages that use OAuth2Exception
-
Uses of OAuth2Exception in cloud.opencode.base.oauth2.exception
Methods in cloud.opencode.base.oauth2.exception that return OAuth2ExceptionModifier and TypeMethodDescriptionstatic OAuth2ExceptionOAuth2Exception.authorizationFailed(String details) Create authorization failed exception 创建授权失败异常static OAuth2ExceptionOAuth2Exception.fromServerError(String error, String errorDescription, String errorUri) Create exception from an OAuth2 server error response (RFC 6749 Section 5.2) 从 OAuth2 服务器错误响应创建异常(RFC 6749 第 5.2 节)static OAuth2ExceptionOAuth2Exception.invalidConfig(String details) Create invalid config exception 创建无效配置异常static OAuth2ExceptionOAuth2Exception.networkError(Throwable cause) Create network error exception 创建网络错误异常static OAuth2ExceptionOAuth2Exception.tokenExpired()Create token expired exception 创建 Token 过期异常static OAuth2ExceptionOAuth2Exception.tokenInvalid(String details) Create token invalid exception 创建 Token 无效异常