<?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 refresh token in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145618#M1350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used ArcGIS runtime SDK for iOS and get the access token and the refresh token. I want to know the expiration time of the refresh token. Does anyone know this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2019 05:47:54 GMT</pubDate>
    <dc:creator>lirong</dc:creator>
    <dc:date>2019-01-29T05:47:54Z</dc:date>
    <item>
      <title>refresh token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145618#M1350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used ArcGIS runtime SDK for iOS and get the access token and the refresh token. I want to know the expiration time of the refresh token. Does anyone know this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 05:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145618#M1350</guid>
      <dc:creator>lirong</dc:creator>
      <dc:date>2019-01-29T05:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: refresh token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145619#M1351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the&amp;nbsp;&lt;EM&gt;AGSOAuthConfiguration&lt;/EM&gt;&amp;nbsp;&lt;EM&gt;refreshTokenExpirationInterval&lt;/EM&gt; property which is defined as: "&lt;/P&gt;&lt;P style="color: #008000; background-color: #ffffff; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;The requested expiration interval (in minutes) for the refreshToken generated by the&lt;/P&gt;&lt;P style="color: #008000; background-color: #ffffff; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;OAuth request. The max interval can be overridden by the portal administrator.&lt;/P&gt;&lt;P style="color: #008000; background-color: #ffffff; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;NOTE: For a permanent refreshToken (if the portal supports it), use -1.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't answer your question, can you provide the following information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- ArcGIS Runtime SDK for iOS version number (100.4, 100.3, etc)&lt;/P&gt;&lt;P&gt;- How are you getting the refresh Token?&lt;/P&gt;&lt;P&gt;- What kind of authentication are you using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 17:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145619#M1351</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2019-01-29T17:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: refresh token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145620#M1352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark! You mean I can set the time in my code like below, and this means I don't need to acquire refresh token anymore?&lt;/P&gt;&lt;P style="color: #83c057; background-color: #1e2028; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;config.&lt;/SPAN&gt;refreshTokenExpirationInterval&lt;SPAN style="color: #ffffff;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #786dc4;"&gt;-1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 02:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145620#M1352</guid>
      <dc:creator>lirong</dc:creator>
      <dc:date>2019-01-30T02:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: refresh token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145621#M1353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct. &amp;nbsp;If the refresh token is set to -1, then the SDK will handle refreshing the token so you don't have to. &amp;nbsp;ArcGIS Online and Portal version &amp;gt; 1.6 support this functionality. &amp;nbsp;If you're not using AGOL and&amp;nbsp;have an older Portal, then the refreshTokenExpirationInterval is not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any more questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 16:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/refresh-token/m-p/145621#M1353</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2019-02-04T16:37:25Z</dc:date>
    </item>
  </channel>
</rss>

