merlimat commented on a change in pull request #3067: PIP-25: C++ / Python / Go
implementation for token authentication
URL: https://github.com/apache/pulsar/pull/3067#discussion_r237219337
##########
File path: pulsar-client-cpp/include/pulsar/Authentication.h
##########
@@ -114,6 +115,43 @@ class AuthTls : public Authentication {
AuthenticationDataPtr authDataTls_;
};
+typedef boost::function<std::string()> TokenSupplier;
Review comment:
I C++11 is fine with GCC-4.8 (that ships with RHEL7 -
https://access.redhat.com/solutions/19458), though C++14 would require GCC-5
(https://gcc.gnu.org/projects/cxx-status.html#cxx14) and might not as available
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services