<?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 Portal Token in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/portal-token/m-p/676338#M4702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Android development, and recently started working with ArcGIS Android SDK's, along with my fellow android developer. I do have some experience working with iOS SDK. I am working on an test application for both Android and iOS platform. Having some issue with Android sdk at this point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the access token from oAuth Portal Sign In.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like in iOS SDK , we could get the portal token from portal.credentials?.token , after successful signin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2019 18:59:06 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-06-27T18:59:06Z</dc:date>
    <item>
      <title>Portal Token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/portal-token/m-p/676338#M4702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Android development, and recently started working with ArcGIS Android SDK's, along with my fellow android developer. I do have some experience working with iOS SDK. I am working on an test application for both Android and iOS platform. Having some issue with Android sdk at this point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the access token from oAuth Portal Sign In.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like in iOS SDK , we could get the portal token from portal.credentials?.token , after successful signin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 18:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/portal-token/m-p/676338#M4702</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-06-27T18:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Portal Token</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/portal-token/m-p/676339#M4703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, the api is similar. You can call getCredential() on Portal object&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/portal/Portal.html#getCredential()" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/portal/Portal.html#getCredential()"&gt;Portal (ArcGIS Runtime SDK for Android 100.5.0)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which would give you an OAuthTokenCredential object and you can call getAccessToken() on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/security/OAuthTokenCredential.html#getAccessToken()" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/security/OAuthTokenCredential.html#getAccessToken()"&gt;OAuthTokenCredential (ArcGIS Runtime SDK for Android 100.5.0)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/portal-token/m-p/676339#M4703</guid>
      <dc:creator>PuneetPrakash</dc:creator>
      <dc:date>2019-06-27T19:27:18Z</dc:date>
    </item>
  </channel>
</rss>

