Skip to content

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.

string

string

string

Promise<void>