Describe the enhancement requested
arrow::flight::ServerAuthHandler::Authenticate() can't refer HTTP headers nor HTTP query parameters:
|
/// \brief Authenticate the client on initial connection. The server |
|
/// can send and read responses from the client at any time. |
|
virtual Status Authenticate(ServerAuthSender* outgoing, ServerAuthReader* incoming) = 0; |
I want to receive database name via a HTTP header or a HTTP query parameter in https://github.com/apache/arrow-flight-sql-postgresql .
How about adding const CallHeaders& incoming_headers parameter (like for arrow::flight::ServerMiddlewareFactory::StartCall()) or something to arrow::flight::ServerAuthHandler::Authenticate()?
@lidavidm @cyb70289 What do you think about this feature request?
Component(s)
C++, FlightRPC