I am working on map screen with secured gis map services. I generate token and initialize IdentityManager to avoid showing signin popup.
Once I leave the map screen then I do not want to fire requests to refresh the token.
How can I stop refreshing token? If I destroy credentials while leaving the map screen then popup comes up automatically on other screen.