/
getAccessTokenReceiveTime()

getAccessTokenReceiveTime()

The pods:getAccessTokenReceiveTime() function has no parameters and returns a number that represents the system time at which the currently-stored authentication token (obtained with pods:authenticate()) is valid. The number is the amount of seconds since midnight, January 1, 1970 UTC. This function returns null if no authentication token is stored.

Related content

getAccessTokenValidDuration()
getAccessTokenValidDuration()
More like this
hasValidAccessToken()
hasValidAccessToken()
More like this
getAllAgentAccess(resourceURL, doAutoAuth = true)
getAllAgentAccess(resourceURL, doAutoAuth = true)
More like this
findFile(fileName, doAutoAuth = true)
findFile(fileName, doAutoAuth = true)
More like this
authenticate()
authenticate()
More like this
fetch(fileURL, doAutoAuth = true)
fetch(fileURL, doAutoAuth = true)
More like this

Copyright Picolabs | Licensed under Creative Commons.