| 707 | |
| 708 | |
| 709 | std::string Remote::RequestAuthenticationToken(const std::string& username, const std::string& password) |
| 710 | { |
| 711 | char* token = BNRemoteRequestAuthenticationToken(m_object, username.c_str(), password.c_str()); |
| 712 | if (token == nullptr) |
| 713 | throw RemoteException("Failed to authenticate"); |
| 714 | std::string result = token; |
| 715 | BNFreeString(token); |
| 716 | return result; |
| 717 | } |
| 718 | |
| 719 | |
| 720 | void Remote::Connect(const std::string& username, const std::string& token) |
nothing calls this directly
no test coverage detected