Skip to content

Interface: ApiClientOptions ​

Properties ​

baseUrl ​

ts
baseUrl: string;

API origin, e.g. http://localhost:4000. A trailing slash is tolerated.


fetch? ​

ts
optional fetch?: FetchLike;

Injectable for tests; defaults to the global fetch.


getAccessToken ​

ts
getAccessToken: AccessTokenProvider;

Returns the bearer token for the current caller (a Zitadel access token, or an applicant submission token). When it yields nothing the request is sent without Authorization.

Released under the Apache-2.0 License.