Skip to content

Commit 88560ed

Browse files
committed
added note about where to find authentication credentials
1 parent da723e1 commit 88560ed

File tree

1 file changed

+15
-2
lines changed
  • src/main/java/com/esri/samples/map/create_and_save_map

1 file changed

+15
-2
lines changed

src/main/java/com/esri/samples/map/create_and_save_map/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,26 @@ on your portal. Click the Save button to save the map to the chosen folder.
1616
<ol>
1717
<li>Create an <ccde>ArcGISMap</code> with a <code>Basemap</code> and operational layers</li>
1818
<li>Create an <code>OAuthConfiguration</code> with your portal and app credential.</li>
19-
<li>Add the configuration to the <code>AuthenticationMangager</li>
20-
<li>Create a <code>Portal</code> and load it. Use a custom <code>AuthenticationChallengeHandler</li> to
19+
<li>Add the configuration to the <code>AuthenticationMangager</code></li>
20+
<li>Create a <code>Portal</code> and load it. Use a custom <code>AuthenticationChallengeHandler</code> to
2121
authenticate with your username and password</li>
2222
<li>Once authenticated, save the map by calling <code>map.saveMapAsAsync()</code>, passing in the title, tags,
2323
description, and portal folder</li>
2424
</ol>
2525

26+
<h2>Authentication</h2>
27+
This sample uses the <a href="https://developers.arcgis.com/authentication/#named-user-login">named user login</a>
28+
authentication pattern. As a developer, you will need the following to make use of this pattern:
29+
30+
<h3>Your apps <b>Client ID</b></h3>
31+
Login to your <a href="http://developers.arcgis.com">ArcGIS Developers site</a> account and <a href="https://developers.arcgis.com/applications/#/new/">Register</a>
32+
your app. Once registered, select the <b>Authentication</b> tab taking note of your <b>Client ID</b>.
33+
34+
<h3>A custom <b>Redirect URI</b></h3>
35+
36+
While still under the <b>Authentication</b> tab in your account, navigate down the page to the <b>Redirect URIs</b>
37+
section to setup the redirect URI.
38+
2639
<h2>Features</h2>
2740

2841
<ul>

0 commit comments

Comments
 (0)