<?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 Re: identity manager in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1370087#M83341</link>
    <description>&lt;P&gt;Please show your code and describe more precisely what you need/want&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 07:58:58 GMT</pubDate>
    <dc:creator>ViktorSafar</dc:creator>
    <dc:date>2024-01-15T07:58:58Z</dc:date>
    <item>
      <title>identity manager</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1369793#M83335</link>
      <description>&lt;P&gt;Hi all, I'm trying to extends to token expiration time when using the&amp;nbsp;generateToken method of the&amp;nbsp;IdentityManager , but could not seem to succeed. anyone have some thoughts about this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 21:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1369793#M83335</guid>
      <dc:creator>EliyahoLevi</dc:creator>
      <dc:date>2024-01-12T21:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: identity manager</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1370087#M83341</link>
      <description>&lt;P&gt;Please show your code and describe more precisely what you need/want&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 07:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1370087#M83341</guid>
      <dc:creator>ViktorSafar</dc:creator>
      <dc:date>2024-01-15T07:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: identity manager</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1398359#M84085</link>
      <description>&lt;P&gt;hello.&lt;BR /&gt;i am using POST method to generate token.&lt;BR /&gt;You can increase &lt;STRONG&gt;expiration&lt;/STRONG&gt; value while generating token.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var tokenvalue = $.ajax({
type: "POST",
url: generatetoken, //address of arcgis server or portal
data: {
username: username,
password: password,
client: "referer&amp;amp;requestip",
referer: locationaddress,
expiration: '60',
f: "json"
},
dataType: "json"
}).done(function (response) {....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;for IdentityManager you can try this;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const userInfo = { 
username: username, 
password: password, 
client: "referer",
referer: locationaddress,
expiration: 60
};

IdentityManager.generateToken(serverInfo, userInfo).then(function (response){....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 13:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager/m-p/1398359#M84085</guid>
      <dc:creator>muygunol</dc:creator>
      <dc:date>2024-03-20T13:03:25Z</dc:date>
    </item>
  </channel>
</rss>

