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.
Copyright Picolabs | Licensed under Creative Commons.