<?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 do I create a credentials file? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-do-i-create-a-credentials-file/m-p/358052#M2332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you have successfully authenticated the app will create the credentials file for you and allow you the option to use the the save credentials the next time you open the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To authenticate: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Log into &lt;A href="https://developers.arcgis.com/"&gt;ArcGIS Developers Site&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;2. Click the applications button in the upper right corner&lt;/P&gt;&lt;P&gt;3. Register a New Application&lt;/P&gt;&lt;P&gt;4. Copy the Client ID from your newly registered application and paste it into the `client_id` string resource in `res/values/strings.xml`.&lt;/P&gt;&lt;P&gt;5. Run the app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you successfully authenticate and re-run the app you will be asked if want to &lt;STRONG&gt;Continue with saved credentials&lt;/STRONG&gt;.&amp;nbsp; If you say **&lt;STRONG&gt;Yes&lt;/STRONG&gt;** the app will use the credential file it created to authenticate you in the app.&amp;nbsp; If you say **&lt;STRONG&gt;No&lt;/STRONG&gt;** you will be prompted to sign in again.&amp;nbsp; Be aware that while this sample app creates and caches the credential file it does not encrypt it, it only shows you how to use the credentials file to authenticate a user.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 17:17:12 GMT</pubDate>
    <dc:creator>DanO_Neill</dc:creator>
    <dc:date>2015-10-30T17:17:12Z</dc:date>
    <item>
      <title>How do I create a credentials file?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-do-i-create-a-credentials-file/m-p/358051#M2331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I am running the OAuth2Sample app from the arcgis-runtime-samples-android projects. In the code it looks for a credentials file:&lt;/P&gt;&lt;PRE style="padding: 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;if (fileExists(mCredentialsFileName)) { &lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;How do I create a credentials file? I believe I have all the data for it (username, client id, portal url, password, license key).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 17:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-do-i-create-a-credentials-file/m-p/358051#M2331</guid>
      <dc:creator>JohnDaues1</dc:creator>
      <dc:date>2015-10-29T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a credentials file?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-do-i-create-a-credentials-file/m-p/358052#M2332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you have successfully authenticated the app will create the credentials file for you and allow you the option to use the the save credentials the next time you open the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To authenticate: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Log into &lt;A href="https://developers.arcgis.com/"&gt;ArcGIS Developers Site&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;2. Click the applications button in the upper right corner&lt;/P&gt;&lt;P&gt;3. Register a New Application&lt;/P&gt;&lt;P&gt;4. Copy the Client ID from your newly registered application and paste it into the `client_id` string resource in `res/values/strings.xml`.&lt;/P&gt;&lt;P&gt;5. Run the app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you successfully authenticate and re-run the app you will be asked if want to &lt;STRONG&gt;Continue with saved credentials&lt;/STRONG&gt;.&amp;nbsp; If you say **&lt;STRONG&gt;Yes&lt;/STRONG&gt;** the app will use the credential file it created to authenticate you in the app.&amp;nbsp; If you say **&lt;STRONG&gt;No&lt;/STRONG&gt;** you will be prompted to sign in again.&amp;nbsp; Be aware that while this sample app creates and caches the credential file it does not encrypt it, it only shows you how to use the credentials file to authenticate a user.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-do-i-create-a-credentials-file/m-p/358052#M2332</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2015-10-30T17:17:12Z</dc:date>
    </item>
  </channel>
</rss>

