src/OAuth/TokenStorage/TmpFileTokenStorage.php
public function retrieveToken($key)
  {
    $location = $this->_createFileName($key);
    if(file_exists($location))
    {
      return file_get_contents($location);
    }
    return null;
  }
public function retrieveToken($key)
  {
    $location = $this->_createFileName($key);
    if(file_exists($location))
    {
      return file_get_contents($location);
    }
    return null;
  }
public function retrieveToken ( $ key ) { $ location = $ this -> _createFileName ( $ key ) ; if ( file_exists ( $ location ) ) { return file_get_contents ( $ location ) ; } return null ; }
Retrieve a token from storage

@param string $key location key for token

@return string|null
Retrieve a token from storage