| 38 | } |
| 39 | |
| 40 | Status PyServerAuthHandler::Authenticate(const arrow::flight::ServerCallContext& context, |
| 41 | arrow::flight::ServerAuthSender* outgoing, |
| 42 | arrow::flight::ServerAuthReader* incoming) { |
| 43 | return SafeCallIntoPython([=] { |
| 44 | const Status status = vtable_.authenticate(handler_.obj(), outgoing, incoming); |
| 45 | RETURN_NOT_OK(CheckPyError()); |
| 46 | return status; |
| 47 | }); |
| 48 | } |
| 49 | |
| 50 | Status PyServerAuthHandler::IsValid(const std::string& token, |
| 51 | std::string* peer_identity) { |
nothing calls this directly
no test coverage detected