MCPcopy Create free account
hub / github.com/apache/arrow / Authenticate

Method Authenticate

python/pyarrow/src/arrow/python/flight.cc:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Status 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
50Status PyServerAuthHandler::IsValid(const std::string& token,
51 std::string* peer_identity) {

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
authenticateMethod · 0.45

Tested by

no test coverage detected