<?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 Expiring Token in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/expiring-token/m-p/1356021#M10782</link>
    <description>&lt;P&gt;Hello - our pro extension connects to a secure ArcGIS Server feature service using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;pointsLayer = (FeatureLayer)LayerFactory.Instance.CreateLayer(uri0, MapView.Active.Map, LayerPosition.AddToTop);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user is prompted to enter their credentials the first time they use the extension.&amp;nbsp; Everything works as expected until the token expires.&amp;nbsp; Is there a way to automatically or programmatically refresh the token before it expires?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 22:53:27 GMT</pubDate>
    <dc:creator>JeffRogholt</dc:creator>
    <dc:date>2023-12-01T22:53:27Z</dc:date>
    <item>
      <title>Expiring Token</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/expiring-token/m-p/1356021#M10782</link>
      <description>&lt;P&gt;Hello - our pro extension connects to a secure ArcGIS Server feature service using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;pointsLayer = (FeatureLayer)LayerFactory.Instance.CreateLayer(uri0, MapView.Active.Map, LayerPosition.AddToTop);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user is prompted to enter their credentials the first time they use the extension.&amp;nbsp; Everything works as expected until the token expires.&amp;nbsp; Is there a way to automatically or programmatically refresh the token before it expires?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 22:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/expiring-token/m-p/1356021#M10782</guid>
      <dc:creator>JeffRogholt</dc:creator>
      <dc:date>2023-12-01T22:53:27Z</dc:date>
    </item>
  </channel>
</rss>

