tifflhl commented on a change in pull request #8959:
URL: https://github.com/apache/arrow/pull/8959#discussion_r546951872
##########
File path: python/pyarrow/tests/test_flight.py
##########
@@ -506,6 +505,95 @@ def get_token(self):
return self.token
+class NoopAuthHandler(ServerAuthHandler):
+ """A no-op auth handler."""
+
+ def authenticate(self, outgoing, incoming):
+ """Do nothing."""
+
+ def is_valid(self, token):
+ """Do nothing."""
+ return ""
+
+
+class HeaderAuthServerMiddlewareFactory(ServerMiddlewareFactory):
Review comment:
This PR is only for the client implementation of header based auth in
Python, same as the C++ implementation done here:
https://github.com/apache/arrow/pull/8724. I've created a new subtask in
ARROW-10486 that reflects this scope of work:
https://issues.apache.org/jira/browse/ARROW-11004.
----------------------------------------------------------------
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]