<?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: How to send bearer token header for all map service requests by default in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212215#M1932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With 10.2.5 I cannot think of how this would be achieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Sep 2017 16:24:44 GMT</pubDate>
    <dc:creator>RyanOlson1</dc:creator>
    <dc:date>2017-09-05T16:24:44Z</dc:date>
    <item>
      <title>How to send bearer token header for all map service requests by default</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212212#M1929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing an IOS app, that will have custom OWIN based authentication. I have proxy page which will accept access token, authorize the request and redirect requests to arcgis server .But from IOS sdk i am not sure how to append this access token on the header of all the service requests. Can anyone help on how to implement this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srikanth Kusam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:12:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212212#M1929</guid>
      <dc:creator>SrikanthKusam1</dc:creator>
      <dc:date>2017-08-30T06:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to send bearer token header for all map service requests by default</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212213#M1930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;// to set headers for every remote resource globally&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;AGSRequestConfiguration&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;global&lt;/SPAN&gt;&lt;SPAN class=""&gt;().&lt;/SPAN&gt;userHeaders&lt;SPAN class=""&gt; = [&lt;/SPAN&gt;&lt;SPAN class=""&gt;"my key"&lt;/SPAN&gt;&lt;SPAN class=""&gt; : &lt;/SPAN&gt;&lt;SPAN class=""&gt;"my value"&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;//&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;// OR &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;//&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;// to set it for just one resource&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; lyr : &lt;/SPAN&gt;AGSArcGISTiledLayer&lt;SPAN class=""&gt;! = &lt;/SPAN&gt;&lt;SPAN class=""&gt;nil&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;lyr.requestConfiguration = &lt;SPAN class=""&gt;AGSRequestConfiguration&lt;/SPAN&gt;.global().copy() &lt;SPAN class=""&gt;as&lt;/SPAN&gt;? &lt;SPAN class=""&gt;AGSRequestConfiguration&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;lyr.requestConfiguration?.userHeaders = [&lt;SPAN class=""&gt;"my key"&lt;/SPAN&gt; : &lt;SPAN class=""&gt;"my value"&lt;/SPAN&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212213#M1930</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-08-30T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to send bearer token header for all map service requests by default</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212214#M1931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I think &lt;SPAN class=""&gt;&lt;/SPAN&gt;AGSRequestConfiguration&lt;SPAN class=""&gt;&lt;/SPAN&gt; class is available in 100.1. But i am still using 10.2.5. Is there any way to do same in 10.2.5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Srikanth Kusam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212214#M1931</guid>
      <dc:creator>SrikanthKusam1</dc:creator>
      <dc:date>2017-09-04T12:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to send bearer token header for all map service requests by default</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212215#M1932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With 10.2.5 I cannot think of how this would be achieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-send-bearer-token-header-for-all-map/m-p/212215#M1932</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-09-05T16:24:44Z</dc:date>
    </item>
  </channel>
</rss>

