From b72847d50404f4d751184d9977e7bba23050a797 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 17 Aug 2016 13:41:45 -0700 Subject: Finally implement network join auth tokens, at least at the protocol level. --- node/NetworkConfig.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node') diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 18244ec9..25e0ccaf 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -101,6 +101,9 @@ namespace ZeroTier { // Maximum number of tags this node can accept #define ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_MAX_NETWORK_TAGS "mt" +// Network join authorization token (if any) +#define ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_AUTH_TOKEN "atok" + // These dictionary keys are short so they don't take up much room. // By convention we use upper case for binary blobs, but it doesn't really matter. -- cgit v1.2.3