Appearance
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.