docs: function AuthClient(options) {
    const schema = Joi.object().keys({
      clientId: Joi.string()
        .guid({
          version: ['uuidv4'],
        })
        .required(),
      clientSecret: Joi.string()
        .guid({
          version: ['uuidv4'],
        })
        .required(),
      redirectUri: Joi.string()
        .uri()
        .required(),
      scope: Joi.array().items(Joi.string()),
      development: Joi.boolean(),
      testMode: Joi.boolean(),
    });
  
    Joi.assert(options, schema);
  
    this.clientId = options.clientId;
    this.clientSecret = options.clientSecret;
    this.redirectUri = options.redirectUri;
    this.scope = options.scope;
  
    if (options.development !== undefined) {
      /* eslint-disable-next-line no-console */
      console.warn(`DeprecationWarning: development flag is deprecated.
        This is discouraged and will be removed in the next major release.
        Use testMode instead`);
      this.development = options.development;
    }
  
    this.testMode = options.testMode || false;
  
    this.request = util.request.defaults({
      baseUrl: config.auth,
      auth: {
        user: this.clientId,
        pass: this.clientSecret,
      },
    });
  }