google/google-api-php-client — pull request #414 by eRadical (2014-11-27 15:06:07+00:00)
Title: + Delete expired tokens from cache and generate new ones, fixes #377

I really needed this fix that was already debated in case #377.
I think this should do it. Tested on my AppEngine application.