# Google Auth Library Client - Class HttpHandlerFactory (1.50.1)

1.50.1 (latest) 1.50.0 1.49.0 1.48.1 1.47.1 1.46.0 1.45.2

## Namespace

Google \\ Auth \\ HttpHandler

## Methods

### static::build

Builds out a default http handler for the installed version of guzzle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `client` | `GuzzleHttp\ClientInterface|null` |
| `logger` | `null|false|Psr\Log\LoggerInterface` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/auth/latest/HttpHandler.Guzzle6HttpHandler|https://docs.cloud.google.com/php/docs/reference/auth/latest/HttpHandler.Guzzle7HttpHandler` |   |