...Javascript applications using secured services from ArcGIS Online. ... token based authentication ... is possible to extend the expiration length of the tokens. ...Is there another method of obtaining a long lengthed token for AGOL secured services?