IArcGISContextOptions
Options for the ArcGISContext constructor
Properties
Property | Type | Notes |
---|---|---|
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. |
|
string |
Portal base url For ArcGIS Online - https://org.env.arcgis.com For ArcGIS Enterprise - https://{portalHostname}/{webadaptor} |
|
Optional | UserSession |
The current UserSession |
Optional | IUser |
If the user is authenticated, the user should be passed in so various getters can work as expected. |
Optional | IFeatureFlags |
Hash of feature flags |
Optional | string |
Hub Url that corresponds to the portal url is appropritate |
Optional | IPortal |
If the user is authenticated, the portal should be passed in so various getters can work as expected. |
Optional | Record<stringany> |
Optional hash of additional context |
Optional | HubServiceStatus |
Option to pass in service status vs fetching it |
Optional | string[] |
Array of Trusted Org Ids |
Optional | IHubTrustedOrgsResponse[] |
Trusted orgs xhr response |
Optional | IUserHubSettings |
Hash of user hub settings. These are stored as
user-app-resources, associated with the |
Optional | IUserResourceToken[] |
Array of exchanged tokens for use with user-app-resources |
Interface defined in common/src/ArcGISContext.ts:315