(No version information available, might be only in CVS)
KRB5CCache::isValid — Checks whether the credentials contained are still valid
Checks whether the credentials contained are still valid or will be still valid after a given amount of time. Make sure to add a reasonable amount of time to compensate for clock skew.
Number of seconds for which the credentials should stay valid.
Returns true if the credentials are valid and false otherwise.
Example #1 KRB5CCache::isValid() example
<?php
$ccache->isValid(); // checks whether the credential cache is still valid
$ccache->isValid(3600); // checks whether the credential cache is still valid in an hour
?>