public getServerLogoutURL ( ) : string | ||
return | string | logout URL. |
public function getServerLogoutURL()
{
// the URL is build only when needed
if (empty($this->_server['logout_url'])) {
$this->_server['logout_url'] = $this->_getServerBaseURL() . 'logout';
}
return $this->_server['logout_url'];
}
/** * This method returns the URL to be used to login. * or phpCAS::isAuthenticated(). * * @return the login name of the authenticated user */ public static function getServerLogoutURL() { phpCAS::_validateClientExists(); return self::$_PHPCAS_CLIENT->getServerLogoutURL(); }