<?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: Has the OAuthAuthorizeHandler implementation been removed from the Runtime Toolkit? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/has-the-oauthauthorizehandler-implementation-been/m-p/263921#M3104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The doc is incorrect. There's a challenge handler in the preview package, but this one doesn't handle OAuth yet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-toolkit-dotnet/blob/master/src/Toolkit.Preview/Toolkit.Preview.WPF/Authentication/ChallengeHandler.cs" title="https://github.com/Esri/arcgis-toolkit-dotnet/blob/master/src/Toolkit.Preview/Toolkit.Preview.WPF/Authentication/ChallengeHandler.cs"&gt;arcgis-toolkit-dotnet/ChallengeHandler.cs at master · Esri/arcgis-toolkit-dotnet · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead see the sample app:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/a3aad07afa1a29fece692648e2337ed1c0de7118/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Security/OAuth/OAuth.xaml.cs" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/a3aad07afa1a29fece692648e2337ed1c0de7118/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Security/OAuth/OAuth.xaml.cs"&gt;arcgis-runtime-samples-dotnet/OAuth.xaml.cs at a3aad07afa1a29fece692648e2337ed1c0de7118 · Esri/arcgis-runtime-samples-do…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 18:29:24 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-02-03T18:29:24Z</dc:date>
    <item>
      <title>Has the OAuthAuthorizeHandler implementation been removed from the Runtime Toolkit?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/has-the-oauthauthorizehandler-implementation-been/m-p/263920#M3103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri's documentation indicates that an implementation of OAuthAuthorizeHandler is available in the toolkit (below). I'm having trouble locating it.&amp;nbsp; Has it been removed or am I being stupid?&amp;nbsp; Also, is there a canonical example of how to implement such an object?&amp;nbsp; I'm particularly interested in any nuances around handling token timeouts.&amp;nbsp; A number of the online samples show slightly different implementations.&amp;nbsp; For example these two help topic show some differences in the implementation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference/html/T_Esri_ArcGISRuntime_Security_ServerInfo.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference/html/T_Esri_ArcGISRuntime_Security_ServerInfo.htm"&gt;ServerInfo Class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference/html/T_Esri_ArcGISRuntime_Security_IOAuthAuthorizeHandler.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference/html/T_Esri_ArcGISRuntime_Security_IOAuthAuthorizeHandler.htm"&gt;IOAuthAuthorizeHandler Interface&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;public Esri.ArcGISRuntime.Security.IOAuthAuthorizeHandler OAuthAuthorizeHandler { get; set; }&lt;BR /&gt; Member of Esri.ArcGISRuntime.Security.AuthenticationManager&lt;/P&gt;&lt;P&gt;Summary:&lt;BR /&gt;Gets or sets the component sets the component that handles authorization by a resource owner in an oauth workflow.&lt;/P&gt;&lt;P&gt;Remarks:&lt;BR /&gt;&lt;STRONG&gt;The ArcGISRuntime SDK doesn't provide any default OAuthAuthorizeHandler implementation but the ArcGIS Runtime Toolkit for .NET provides such a component.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This toolkit component can be set by code like: AuthenticationManager.Current.OAuthAuthorizeHandler = new Esri.ArcGISRuntime.Toolkit.Security.OAuthAuthorizeHandler();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 17:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/has-the-oauthauthorizehandler-implementation-been/m-p/263920#M3103</guid>
      <dc:creator>Mike_Quetel</dc:creator>
      <dc:date>2020-02-03T17:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Has the OAuthAuthorizeHandler implementation been removed from the Runtime Toolkit?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/has-the-oauthauthorizehandler-implementation-been/m-p/263921#M3104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The doc is incorrect. There's a challenge handler in the preview package, but this one doesn't handle OAuth yet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-toolkit-dotnet/blob/master/src/Toolkit.Preview/Toolkit.Preview.WPF/Authentication/ChallengeHandler.cs" title="https://github.com/Esri/arcgis-toolkit-dotnet/blob/master/src/Toolkit.Preview/Toolkit.Preview.WPF/Authentication/ChallengeHandler.cs"&gt;arcgis-toolkit-dotnet/ChallengeHandler.cs at master · Esri/arcgis-toolkit-dotnet · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead see the sample app:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/a3aad07afa1a29fece692648e2337ed1c0de7118/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Security/OAuth/OAuth.xaml.cs" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/a3aad07afa1a29fece692648e2337ed1c0de7118/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Security/OAuth/OAuth.xaml.cs"&gt;arcgis-runtime-samples-dotnet/OAuth.xaml.cs at a3aad07afa1a29fece692648e2337ed1c0de7118 · Esri/arcgis-runtime-samples-do…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 18:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/has-the-oauthauthorizehandler-implementation-been/m-p/263921#M3104</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-02-03T18:29:24Z</dc:date>
    </item>
  </channel>
</rss>

