I have a .Net application that uses ArcGIS for Javascript 3.28 to access layers. The layers are on a secure GIS server.
Is there a way to specify the credentials needed to access the layers without prompting the user?