maskit 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_r236672859
##########
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:
Also, we can use `using` instead of `typedef` in C++11.
----------------------------------------------------------------
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