• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/oauth/storagecache.php
  • Класс: BitrixRestOAuthStorageCache
  • Вызов: StorageCache::restore
public function restore($accessToken)
{
	$cache = $this->getCache();

	$authResult = false;

	if($readResult = $cache->read(static::CACHE_TTL, $this->getCacheId($accessToken)))
	{
		$authResult = $cache->get($this->getCacheId($accessToken));
	}

	return $authResult;
}