MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetAuthBackends

Method GetAuthBackends

collaboration.cpp:652–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650
651
652std::vector<std::pair<std::string, std::string>> Remote::GetAuthBackends()
653{
654 char** methods;
655 char** names;
656 size_t count;
657 if (!BNRemoteGetAuthBackends(m_object, &methods, &names, &count))
658 throw RemoteException("Failed to get authentication backends");
659
660 std::vector<std::pair<std::string, std::string>> results;
661 for (size_t i = 0; i < count; i++)
662 {
663 results.push_back({methods[i], names[i]});
664 }
665
666 BNFreeStringList(methods, count);
667 BNFreeStringList(names, count);
668
669 return results;
670}
671
672
673bool Remote::HasPulledProjects()

Callers

nothing calls this directly

Calls 2

RemoteExceptionClass · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected