docs: function createToken(userId, channel, tokenList) {
      var profile, secret, expire, token;
      profile = {
          clientId: userId,
          session: channel.session
      };
  
      secret = channel.secret;
      expire = 60*60*5;
      // We are sending the profile in the token.
      token = jwt.sign(profile, secret, { expiresIn: expire});
  
      // Store the token somewhere.
      tokenList[token] = profile;
  
      return token;
  }