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.

Copyright Picolabs | Licensed under Creative Commons.