code: function client_auth_request(options) {
    const { client, } = options;
    return function(req, res, next) {
      if (!clientAuthToken[client.service_name]) {
        clientAuthToken[client.service_name] = new Buffer(client.client_token_id + ':' + client.client_secret).toString('base64');
      }
      req.controllerData = req.controllerData || {};
      req.controllerData.authorization_header = 'Basic ' + clientAuthToken[client.service_name];
      next();
    };
  }
docs: set controller data auth header, for making authenticated API requests later
  @param  {object} options	pass the client configuration from the login extension settings
  @return {Function} returns the express middleware for the oauth callback