* Get the first API key from api_keys. * @return The API key, could be an empty string. */
| 56 | * @return The API key, could be an empty string. |
| 57 | */ |
| 58 | std::string get_key() { |
| 59 | if (api_keys_.empty()) { |
| 60 | return ""; |
| 61 | } |
| 62 | return api_keys_.front(); |
| 63 | } |
| 64 | |
| 65 | const std::vector<std::string>& get_keys() { |
| 66 | return api_keys_; |
no test coverage detected