EOAuth2Service.php
protected function restoreAccessToken() {
		if (!$this->authenticated) {
			if ($this->hasState('auth_token') && $this->getState('expires', 0) > time()) {
				$this->access_token = $this->getState('auth_token');
				$this->authenticated = true;
			}
			else {
				$this->access_token = null;
				$this->authenticated = false;
			}
		}

		return $this->authenticated;
	}
protected function restoreAccessToken() {
		if (!$this->authenticated) {
			if ($this->hasState('auth_token') && $this->getState('expires', 0) > time()) {
				$this->access_token = $this->getState('auth_token');
				$this->authenticated = true;
			}
			else {
				$this->access_token = null;
				$this->authenticated = false;
			}
		}

		return $this->authenticated;
	}
protected function restoreAccessToken ( ) { if ( ! $ this -> authenticated ) { if ( $ this -> hasState ( 'auth_token' ) && $ this -> getState ( 'expires' , 0 ) > time ( ) ) { $ this -> access_token = $ this -> getState ( 'auth_token' ) ; $ this -> authenticated = true ; } else { $ this -> access_token = null ; $ this -> authenticated = false ; } } return $ this -> authenticated ; }
Restore access token from the session.

@return boolean whether the access token was successfuly restored.
Restore access token from the session .