Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ArcGIS token challenge

This sample demonstrates how to authenticate with ArcGIS Server using ArcGIS Tokens to access a secure service. Accessing secured services requires a login that's been defined on the server.

Instructions

  1. When you run the sample, the app will load a map that contains a layer from a secured service.
  2. You will be challenged for a user name and password to view that layer.
  3. Enter the correct user name (user1) and password (user1).
  4. If you authenticate successfully, the secured layer will display, otherwise the map will contain only the public layers.