Lines Matching refs:cached
70 if ($cached = $this->fetchAuthTokenFromCache()) {
71 return $cached;
138 $cached = $this->fetchAuthTokenFromCache();
139 $accessToken = isset($cached['access_token']) ? $cached['access_token'] : null;
203 $cached = $this->fetchAuthTokenFromCache($authUri);
204 if ($cached) {
208 if (isset($cached['access_token'])) {
210 'Bearer ' . $cached['access_token']
221 if (!$cached && $token = $this->fetcher->getLastReceivedToken()) {
246 $cached = $this->getCachedValue($cacheKey);
247 if (is_array($cached)) {
248 if (empty($cached['expires_at'])) {
251 return $cached;
253 if (time() < $cached['expires_at']) {
255 return $cached;