Function: connectorToken()
connectorToken(
options):Promise<string>
Fetch (or reuse) a Connector API access token for the bot’s own app registration.
Cached until shortly before expiry: a Connector token is valid for ~1h, and re-fetching per reply would add a round trip to every turn.
Parameters
Section titled “Parameters”options
Section titled “options”string
appPassword
Section titled “appPassword”string
appTenantId?
Section titled “appTenantId?”string
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<string>