Add client token authentication

This commit is contained in:
Maxim Rubis
2018-06-06 08:05:34 -04:00
parent d9fca62c17
commit 6a103f3e61
3 changed files with 25 additions and 11 deletions
+3
View File
@@ -42,6 +42,9 @@ const server = CreateServer({
max_tcp_sockets: argv['max-sockets'],
secure: argv.secure,
domain: argv.domain,
tokens: {
// 'clientid': 'token'
}
});
server.listen(argv.port, argv.address, () => {