{ "id":"/axapi/v3/ddos/token-authentication", "type":"object", "node-type":"intermediate", "title":"token-authentication", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"DDOS Token Authentication Configuration", "properties":{ "player-mode":{ "type":"object", "$ref":"/axapi/v3/ddos/token-authentication/player-mode", "properties":{ "mode":{ "type":"string", "format":"enum", "default":"many-to-one", "partition-visibility":"shared", "description":"'one-to-one': Only one player talks to one server; 'many-to-one': Many player talk to one server; ", "enum":[ "one-to-one", "many-to-one" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "secret-salt":{ "type":"object", "$ref":"/axapi/v3/ddos/token-authentication/secret-salt", "properties":{ "current-salt":{ "type":"number", "format":"number", "minimum":0, "maximum":4294967295, "partition-visibility":"shared", "description":"Current salt value" }, "previous-salt":{ "type":"number", "format":"number", "minimum":0, "maximum":4294967295, "partition-visibility":"shared", "description":"Previous salt value" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "players-list":{ "type":"array", "minItems":1, "items":{ "type":"players" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/token-authentication/players/{src-ip}+{src-port}+{dst-ip}+{dst-port}", "array":[ { "properties":{ "src-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "optional":false }, "src-port":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "optional":false }, "dst-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "optional":false }, "dst-port":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "optional":false }, "magic-value":{ "type":"number", "format":"number", "minimum":0, "maximum":4294967295, "partition-visibility":"shared", "optional":true } }, "required":[ "src-ip", "src-port", "dst-ip", "dst-port" ] } ] }, "summary":{ "type":"object", "$ref":"/axapi/v3/ddos/token-authentication/summary", "properties":{ "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "authenticated-list":{ "type":"object", "$ref":"/axapi/v3/ddos/token-authentication/authenticated-list", "properties":{ "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } } }