$response = $client->request('GET', 'https://...', [ 'auth_basic' => ['the-username', 'the-password'], // ... ]);