We have an OMS (outage management system), Pragma, that we want to consume secure Esri services. They have a URL with a token on the end in their config file. They application will then use this token for each call the to the Esri service.
So, the URL would look something like :
"https://our-server/server/rest/services/Testing/OMS/MapServer/tile/{0}/{2}/{1}/256/png8?token="
How do I go about creating this token?