setAuthCredentials(user, pass) {
    ow(user, ow.string.nonEmpty)
    ow(pass, ow.string.nonEmpty)
    this.opts.auth = { user, pass }
    this.debug('updated credentials', this.opts.auth)
    return this
  }
Set the basic auth credentials for the public tunnel page.

Alternatively the credentials can be defined when instantiating the plugin.

@param {string} user - Username
@param {string} pass - Password

@example
const puppeteer = require('puppeteer-extra')
const devtools = require('puppeteer-extra-plugin-devtools')()
puppeteer.use(devtools)

puppeteer.launch().then(async browser => {
  devtools.setAuthCredentials('bob', 'swordfish')
  const tunnel = await devtools.createTunnel(browser)
})