/
getAccessTokenValidDuration()

getAccessTokenValidDuration()

The pods:getAccessTokenValidDuration() function has no parameters and returns a number that represents the length of time the currently-stored authentication token (obtained with pods:authenticate()) is valid in seconds. This function returns null if no authentication token is stored.

Related content

getAccessTokenReceiveTime()
getAccessTokenReceiveTime()
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
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
More like this
authenticate()
authenticate()
More like this

Copyright Picolabs | Licensed under Creative Commons.