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.



Response from the platformSelf(...) function.


Property Type Notes
expires_in number

Token expiration, in seconds-from-now

token string

Token the consuming application can use, It is tied to the clientId used in the platformSelf call

username string

Username of the user the encrypted cookie was issued for

Interface defined in packages/arcgis-rest-auth/src/app-tokens.ts:46