| 31 | const char* kPyServerMiddlewareName = "arrow.py_server_middleware"; |
| 32 | |
| 33 | PyServerAuthHandler::PyServerAuthHandler(PyObject* handler, |
| 34 | const PyServerAuthHandlerVtable& vtable) |
| 35 | : vtable_(vtable) { |
| 36 | Py_INCREF(handler); |
| 37 | handler_.reset(handler); |
| 38 | } |
| 39 | |
| 40 | Status PyServerAuthHandler::Authenticate(const arrow::flight::ServerCallContext& context, |
| 41 | arrow::flight::ServerAuthSender* outgoing, |