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

Function IsValid

cpp/src/arrow/flight/server_auth.h:73–80  ·  view source on GitHub ↗

\brief Validate a per-call client token. \param[in] context The call context. \param[in] token The client token. May be the empty string if the client does not provide a token. \param[out] peer_identity The identity of the peer, if this authentication method supports it. \return Status OK if the token is valid, any other status if validation failed

Source from the content-addressed store, hash-verified

71 /// \return Status OK if the token is valid, any other status if
72 /// validation failed
73 virtual Status IsValid(const ServerCallContext& context, const std::string& token,
74 std::string* peer_identity) {
75 // TODO: We can make this pure virtual function when we remove
76 // the deprecated version.
77 ARROW_SUPPRESS_DEPRECATION_WARNING
78 return IsValid(token, peer_identity);
79 ARROW_UNSUPPRESS_DEPRECATION_WARNING
80 }
81 /// \brief Validate a per-call client token.
82 /// \param[in] token The client token. May be the empty string if
83 /// the client does not provide a token.

Callers

nothing calls this directly

Calls 2

NotImplementedFunction · 0.50
nameMethod · 0.45

Tested by

no test coverage detected