/
hasValidAccessToken()

hasValidAccessToken()

The pods:hasValidAccessToken() function has no parameters and returns a boolean. The boolean is true if the currently-stored access token (obtained with pods:authenticate()) has not yet expired. The boolean is false if the access token has expired.

Related content

getAccessTokenValidDuration()
getAccessTokenValidDuration()
More like this
getAccessTokenReceiveTime()
getAccessTokenReceiveTime()
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
getPublicAccess(resourceURL, doAutoAuth = true)
getPublicAccess(resourceURL, doAutoAuth = true)
More like this
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
More like this

Copyright Picolabs | Licensed under Creative Commons.