Skip to content

Type Alias: AssetsServerClientConfig ​

ts
type AssetsServerClientConfig = Omit<ClientConfig, "auth" | "host"> & object;

Defined in: src/assetsServer/createAssetsServerClient.ts:96

Type Declaration ​

auth? ​

ts
optional auth?: 
  | AuthBasic
  | AuthBearer
  | AuthOAuth2Server;

A local account, a personal access token, or OAuth 2.0 against the instance's own authorization server.

Cloud's oauth2 is absent by design: it resolves a cloud id and routes every request through api.atlassian.com, so a client built with it never reaches the host given here.

host ​

ts
host: string;

The instance to answer on, context path included. Data Center has no gateway and no cloud id.