| 650 | |
| 651 | |
| 652 | std::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 | |
| 673 | bool Remote::HasPulledProjects() |
nothing calls this directly
no test coverage detected