httpClient property

Client? httpClient
final

Optional HTTP client used for authentication requests. If provided, the SDK will use it instead of constructing its own — letting you add logging, retry middleware, proxy configuration, or share a single client across your app. The SDK will NOT close a caller-supplied client; the caller owns its lifecycle.

Currently scoped to auth requests; other SDK modules (storage, database, realtime, etc.) will adopt this in a future release.

Implementation

final http.Client? httpClient;