public static function handleLogoutRequests($check_client = true, $allowed_clients = false)
{
phpCAS::_validateClientExists();
return self::$_PHPCAS_CLIENT->handleLogoutRequests($check_client, $allowed_clients);
}
private function prepare() { \phpCAS::client(CAS_VERSION_2_0, $this->casUrl, $this->casPort, $this->casUri, false); //\phpCAS::setDebug('/tmp/cas.log'); \phpCAS::setNoCasServerValidation(); //\phpCAS::setSingleSignoutCallback(array($this, 'casSingleSignOut')); //\phpCAS::setPostAuthenticateCallback(array($this, 'casPostAuth')); \phpCAS::handleLogoutRequests(true, $this->casAllowedIpClients); }