({ user, pass = '' })
| 465 | } |
| 466 | |
| 467 | basicAuth({ user, pass = '' }) { |
| 468 | const encoded = Buffer.from(`${user}:${pass}`).toString('base64') |
| 469 | this.matchHeader('authorization', `Basic ${encoded}`) |
| 470 | return this |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Set query strings for the interceptor |
nothing calls this directly
no test coverage detected