Oauth2Connection::IsAccessTokenExpired (open)
Is this token still usable?
Syntax
LOADLIB "mod::system/lib/webapi/oauth2.whlib";
BOOLEAN FUNCTION IsAccessTokenExpired(RECORD options)
Parameters
RECORD options
Options
validuntil
Check if the token is valid until this time, by default we'll check if the token will work for at least 5 more minutes
Return value
BOOLEAN
True if the token has expired