MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / useLegacyAuth

Function useLegacyAuth

src/remote/client/interface.cpp:8747–8755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8745}
8746
8747static bool useLegacyAuth(const char* nm, int protocol, ClumpletWriter& dpb)
8748{
8749 LegacyPlugin legacyAuth = REMOTE_legacy_auth(nm, protocol);
8750 if (!legacyAuth)
8751 return false;
8752
8753 int requestedAuth = dpb.find(isc_dpb_user_name) ? PLUGIN_LEGACY : PLUGIN_TRUSTED;
8754 return legacyAuth == requestedAuth;
8755}
8756
8757// Let plugins try to add data to DPB in order to avoid extra network roundtrip
8758static void authFillParametersBlock(ClntAuthBlock& cBlock, ClumpletWriter& dpb,

Callers 1

authFillParametersBlockFunction · 0.85

Calls 2

REMOTE_legacy_authFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected