Skip to content
GuidesToolkitAPI

setAppCredential

setAppCredential(portalUrl, clientId, clientSecret): Promise<void>

Defined in: packages/expo-arcgis/src/auth.ts:55

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>