IArcGISContextManagerOptions
Options that can be passed into ArcGISContextManager.create
Properties
Property | Type | Notes |
---|---|---|
Optional | UserSession |
Existing user session, which may be created from Identity Manager
|
Optional | IUser |
Current user as |
Optional | IFeatureFlags |
Optional hash of feature flags |
Optional | Level |
Logging level off > error > warn > info > debug > all defaults to 'error' |
Optional | IPortal |
Portal self for the authenticated user. If not passed into |
Optional | string |
ArcGIS Online or ArcGIS Enterprise portal url.
Do not include |
Optional | Record<stringany> |
Any additional properties to expose on the context. This allows an application to send additional context into the system. For example, in ArcGIS Hub, many times we want to pass in the active "Hub Site" as additional context, so we will send that in as a node on a properties object. |
Optional | IUserResourceConfig[] |
Array of app, clientId's that Context Manager should exchange tokens for |
Optional | IUserResourceToken[] |
Array of app, clientId, token objects which Context Manager has exchanged tokens for |
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 |
Interface defined in common/src/ArcGISContextManager.ts:66