<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic longed lived tokens in Javascript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/longed-lived-tokens-in-javascript-api/m-p/617763#M57732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wish to use long lived tokens using the ArcGIS javascript API.&lt;/P&gt;&lt;P&gt;I have already tired passing the token along with the url like url+"?token="+token;&lt;/P&gt;&lt;P&gt;It works fine. But how can I use these in Query Task etc?&lt;/P&gt;&lt;P&gt;Do i have to use identity manager or odes the credentials property on Dynamic layer or feature layer work?&lt;/P&gt;&lt;P&gt;Setting up a proxy page is not an option.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nigel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 10:36:03 GMT</pubDate>
    <dc:creator>NigelDsouza</dc:creator>
    <dc:date>2015-08-31T10:36:03Z</dc:date>
    <item>
      <title>longed lived tokens in Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/longed-lived-tokens-in-javascript-api/m-p/617763#M57732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wish to use long lived tokens using the ArcGIS javascript API.&lt;/P&gt;&lt;P&gt;I have already tired passing the token along with the url like url+"?token="+token;&lt;/P&gt;&lt;P&gt;It works fine. But how can I use these in Query Task etc?&lt;/P&gt;&lt;P&gt;Do i have to use identity manager or odes the credentials property on Dynamic layer or feature layer work?&lt;/P&gt;&lt;P&gt;Setting up a proxy page is not an option.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nigel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 10:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/longed-lived-tokens-in-javascript-api/m-p/617763#M57732</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2015-08-31T10:36:03Z</dc:date>
    </item>
  </channel>
</rss>

