validateAppAccess
validateAppAccess
FunctionvalidateAppAccess(token: string, clientId: string, portal: string): Promise<IAppAccess>
Validates that the user has access to the application and if they user should be presented a "View Only" mode
This is only needed/valid for Esri applications that are "licensed" and shipped in ArcGIS Online or ArcGIS Enterprise. Most custom applications should not need or use this.
Note: This is only usable by Esri applications hosted on arcgis.com, esri.com or within an ArcGIS Enterprise installation. Custom applications can not use this.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
token | string |
| platform token |
client | string |
| application client id |
portal | string | "https: | Optional |
Returns
Promise<IAppAccess>