I have a JavaScript application using the Identity Manager (esriId) to register user tokens generated by ArcGIS Server. I've based the code off of this example: Identity Manager with info persisted client side | ArcGIS API for JavaScript 3.30
My application is using a version of the api less than 3.10, so I don't have access to esriId.destroyCredentials; Is there another way to clear the credentials?
I've tried deleting the esri_jsapi_id_manager_data local storage key, but deleting the key doesn't seem to stop the baseUnload function that stores the credentials from doing so when the page is closed.