minor. closes #43

This commit is contained in:
José F. Romaniello 2015-05-29 09:49:24 -03:00
parent 276e7aa514
commit c6feb807d8

View File

@ -19,7 +19,7 @@ io.sockets
})).on('authenticated', function(socket) { })).on('authenticated', function(socket) {
//this socket is authenticated, we are good to handle more events from it. //this socket is authenticated, we are good to handle more events from it.
console.log('hello! ' + socket.decoded_token.name); console.log('hello! ' + socket.decoded_token.name);
})); });
``` ```
**Note:** If you are using a base64-encoded secret (e.g. your Auth0 secret key), you need to convert it to a Buffer: `Buffer('your secret key', 'base64')` **Note:** If you are using a base64-encoded secret (e.g. your Auth0 secret key), you need to convert it to a Buffer: `Buffer('your secret key', 'base64')`