longed lived tokens in Javascript API

2353
0
08-31-2015 03:36 AM
NigelDsouza
Occasional Contributor

Hi,

I wish to use long lived tokens using the ArcGIS javascript API.

I have already tired passing the token along with the url like url+"?token="+token;

It works fine. But how can I use these in Query Task etc?

Do i have to use identity manager or odes the credentials property on Dynamic layer or feature layer work?

Setting up a proxy page is not an option.

regards,

Nigel.

0 Kudos
0 Replies