This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.

canUseOnlineToken

Function
  • canUseOnlineToken(portalUrl: string, requestUrl: string) : boolean

Parameters

Parameter Type Default Notes
portalUrl Required string
requestUrl Required string

Returns

boolean

Function defined in packages/arcgis-rest-auth/src/federation-utils.ts:71