@orangecheck/vault-core / VaultClientOptions
Interface: VaultClientOptions
Defined in: vault-core/src/sync.ts:48
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-baseurl"></a> baseUrl? | string | API origin. Default https://vault.ochk.io. | vault-core/src/sync.ts:50 |
<a id="property-credentials"></a> credentials? | RequestCredentials | Cookie mode — browser callers using the oc_session cookie pass 'include'. | vault-core/src/sync.ts:56 |
<a id="property-fetch"></a> fetch? | { (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | Request | URL, init?: RequestInit): Promise<Response>; } | Injectable fetch, for testing or non-standard runtimes. | vault-core/src/sync.ts:58 |
<a id="property-headers"></a> headers? | Record<string, string> | Extra request headers. | vault-core/src/sync.ts:54 |
<a id="property-token"></a> token? | string | An ocvt_… access token — sent as Authorization: Bearer. | vault-core/src/sync.ts:52 |