setAppCredential
setAppCredential(
portalUrl,clientId,clientSecret):Promise<void>
Defined in: src/auth.ts:32
Authenticates the app itself (client id + secret — no user login) against portalUrl, caching
an app token credential. Use for app-level access to secured services without a user sign-in.
Parameters
Section titled “Parameters”portalUrl
Section titled “portalUrl”string
clientId
Section titled “clientId”string
clientSecret
Section titled “clientSecret”string
Returns
Section titled “Returns”Promise<void>