|
syntax = "proto3"; |
|
|
|
package key; |
|
|
|
|
|
message KeyConfig { |
|
|
|
message TokenInfo { |
|
string sub = 1; |
|
int64 exp = 2; |
|
string randomness = 3; |
|
string signature = 4; |
|
bytes machine_id = 5; |
|
bytes mac_id = 6; |
|
} |
|
|
|
|
|
TokenInfo auth_token = 1; |
|
|
|
|
|
optional bool disable_vision = 4; |
|
|
|
|
|
optional bool enable_slow_pool = 5; |
|
|
|
|
|
message UsageCheckModel { |
|
|
|
enum Type { |
|
TYPE_DEFAULT = 0; |
|
TYPE_DISABLED = 1; |
|
TYPE_ALL = 2; |
|
TYPE_CUSTOM = 3; |
|
} |
|
Type type = 1; |
|
repeated string model_ids = 2; |
|
} |
|
|
|
optional UsageCheckModel usage_check_models = 6; |
|
|
|
|
|
optional bool include_web_references = 7; |
|
|
|
|
|
|
|
} |