We provide time validity to a apptoken in "exp" claim.
Now once the time validity is over i.e. the apptoken expires, Iframe shows a message "The content is not availble".
My question is how to find programmatically that the apptoken has expired, so that I can generate new apptoken.