ayush786hack commented on code in PR #13676:
URL: https://github.com/apache/gravitino/pull/13676#discussion_r4237245398
##########
clients/client-java/src/main/java/org/apache/gravitino/client/DefaultOAuth2TokenProvider.java:
##########
@@ -21,100 +21,124 @@
import com.google.common.base.Preconditions;
import java.util.Collections;
import org.apache.commons.lang3.StringUtils;
-
-/** This class is the default implement of OAuth2TokenProvider. */
+import org.apache.gravitino.client.OAuth2ClientAuthenticationMethod;
+/**
+ * This class is the default implement of OAuth2TokenProvider.
+ */
public class DefaultOAuth2TokenProvider extends OAuth2TokenProvider {
private String credential;
private String scope;
private String path;
private String token;
+ private OAuth2ClientAuthenticationMethod authenticationMethod =
+ OAuth2ClientAuthenticationMethod.CLIENT_SECRET_POST;;
Review Comment:
Fixed. Removed the extra semicolon and restored the original Java formatting
around the functional changes in `DefaultOAuth2TokenProvider`,
`OAuth2ClientUtil`, and the test class to keep the diff focused. The Java
OAuth2 tests pass locally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]