Huanli-Meng commented on a change in pull request #7648:
URL: https://github.com/apache/pulsar/pull/7648#discussion_r461372488



##########
File path: site2/docs/security-oauth2.md
##########
@@ -113,3 +113,23 @@ config.setAuth(pulsar::AuthOauth2::create(params));
 
 pulsar::Client client("pulsar://broker.example.com:6650/", config);
 ```
+
+### Go client
+
+For enabling the oauth2 authentication in Go client. You need to configure the 
oauth2 authentication.

Review comment:
       ```suggestion
   To enable Oauth2 authentication in Go client, you need to configure Oauth2 
authentication.
   ```

##########
File path: site2/docs/security-oauth2.md
##########
@@ -113,3 +113,23 @@ config.setAuth(pulsar::AuthOauth2::create(params));
 
 pulsar::Client client("pulsar://broker.example.com:6650/", config);
 ```
+
+### Go client
+
+For enabling the oauth2 authentication in Go client. You need to configure the 
oauth2 authentication.
+
+Here's an example:

Review comment:
       ```suggestion
   This example shows how to configure Oauth2 authentication in Go client. 
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -658,3 +658,23 @@ opts := pulsar.ClientOptions{
     Authentication: NewAuthenticationTLS("my-cert.pem", "my-key.pem"),
 }
 ```
+
+## OAuth2 authentication
+
+In order to use [OAuth2 authentication](security-oauth2.md), you'll need to 
configure your client to do so:
+
+Here's an example:

Review comment:
       ```suggestion
   This example shows how to configure Oauth2 authentication.
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -658,3 +658,23 @@ opts := pulsar.ClientOptions{
     Authentication: NewAuthenticationTLS("my-cert.pem", "my-key.pem"),
 }
 ```
+
+## OAuth2 authentication
+
+In order to use [OAuth2 authentication](security-oauth2.md), you'll need to 
configure your client to do so:

Review comment:
       ```suggestion
   To use [OAuth2 authentication](security-oauth2.md), you'll need to configure 
your client to perform the following operations.
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to