code: def parse_token_channel(self, channel, token):
          
          if (token and channel not in self.DEFAULT_CHANNELS and
                  channel != 'defaults'):
              url_parts = channel.split('/')
              start = url_parts[:-1]
              middle = 't/{0}'.format(token)
              end = url_parts[-1]
              token_channel = '{0}/{1}/{2}'.format('/'.join(start), middle, end)
              return token_channel
          else:
              return channel
docs: Adapt a channel to include token of the logged user.
  
          Ignore default channels.