setServerLogoutURL() public méthode

This method sets the logout URL of the CAS server.
public setServerLogoutURL ( string $url ) : string
$url string the logout URL
Résultat string logout url
Exemple #1
0
 /**
  * Set the logout URL of the CAS server.
  *
  * @param string $url the logout URL
  *
  * @return void
  * @since 0.4.21 by Wyman Chan
  */
 public static function setServerLogoutURL($url = '')
 {
     phpCAS::traceBegin();
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->setServerLogoutURL($url);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
     phpCAS::traceEnd();
 }