BewareMyPower opened a new pull request, #249:
URL: https://github.com/apache/pulsar-client-cpp/pull/249

   Fixes https://github.com/apache/pulsar-client-python/issues/101
   
   ### Motivation
   
   Currently the `private_key` field of the JSON passed to `AuthOauth2` only 
represents the path to the file, we need to support passing the base64 encoded 
JSON string.
   
   ### Modifications
   
   - Add the util methods `encode` and `decode` in namespace `pulsar::base64` 
for base64 serialization.
   - Support the following URL representations for `private_key`:
     1. `file:///path/to/key/file`
     2. `data:application/json;base64,xxxx`
   - Add `Oauth2Test` and set up the test environment for it independently with 
a Docker compose file.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [x] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [ ] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


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

Reply via email to