userver: userver/dynamic_config/updater/additional_keys_token.hpp Source File
Loading...
Searching...
No Matches
additional_keys_token.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/dynamic_config/updater/additional_keys_token.hpp
4/// @brief @copybrief dynamic_config::AdditionalKeysToken
5
6#include <memory>
7#include <string>
8#include <vector>
9
10USERVER_NAMESPACE_BEGIN
11
12namespace dynamic_config {
13
14/// @brief Defines the scope where DynamicConfigClientUpdater requests
15/// additional configs.
17 public:
18 using KeyList = std::vector<std::string>;
19
20 AdditionalKeysToken();
21 explicit AdditionalKeysToken(std::shared_ptr<KeyList> keys);
22
23 private:
24 std::shared_ptr<KeyList> keys_;
25};
26
27} // namespace dynamic_config
28
29USERVER_NAMESPACE_END