Skip to content

Type Alias: ClientConfig

ts
type ClientConfig = CommonClientConfig & object | CommonClientConfig & object;

Defined in: src/core/schemas/clientConfig.ts:51

The shape accepted by createClient, createV1Client and createV2Client.

Written by hand rather than inferred, because host is required for every strategy except OAuth 2.0 and a Zod refinement cannot express that in the type — only at runtime.