Expiring Token

165
0
12-01-2023 02:53 PM
JeffRogholt
New Contributor II

Hello - our pro extension connects to a secure ArcGIS Server feature service using this code:

 

pointsLayer = (FeatureLayer)LayerFactory.Instance.CreateLayer(uri0, MapView.Active.Map, LayerPosition.AddToTop);

 

The user is prompted to enter their credentials the first time they use the extension.  Everything works as expected until the token expires.  Is there a way to automatically or programmatically refresh the token before it expires?

Thanks!

0 Kudos
0 Replies