IArcGISContextOptions

Interface

Options for the ArcGISContext constructor

Properties

Property Type Notes
id number

Unique id from the ArcGISContextManager that created this instance. Primarily useful for debugging possible race-conditions that can result in multiple ArcGISContextManager instances being created.

portalUrl string

Portal base url For ArcGIS Online - https://org.env.arcgis.com For ArcGIS Enterprise - https://{portalHostname}/{webadaptor}

authentication Optional UserSession

The current UserSession

currentUser Optional IUser

If the user is authenticated, the user should be passed in so various getters can work as expected.

hubUrl Optional string

Hub Url that corresponds to the portal url is appropritate

portalSelf Optional IPortal

If the user is authenticated, the portal should be passed in so various getters can work as expected.

properties Optional Record<stringany>

Optional hash of additional context


Interface defined in common/src/ArcGISContext.ts:154