Skip to content

Type Alias: TeamsClientConfig ​

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

Defined in: src/teams/createTeamsClient.ts:33

Type Declaration ​

auth ​

ts
auth: AuthBasic | AuthBearer;

Email and API token, or a bearer token.

OAuth 2.0 is absent by design: the Teams API does not accept it, and neither do Forge apps.

host ​

ts
host: string;

The site to send through. Teams answers on it behind /gateway/api, the same host every other surface uses.