text: module.exports = {
      request: function (req, token) {
          this.options.http._setHeaders.call(this, req, {
              Authorization: 'Bearer ' + token
          })
      },
  
      response: function (res) {
          let headers = this.options.http._getHeaders.call(this, res);
          let token = headers.Authorization || headers.authorization;
  
          if (token) {
              token = token.split(/Bearer:?\s?/i);
  
              return token[token.length > 1 ? 1 : 0].trim();
          }
      }
  };
  