setServerServiceValidateURL() public method

This method sets the serviceValidate URL of the CAS server.
public setServerServiceValidateURL ( string $url ) : string
$url string the serviceValidate URL
return string serviceValidate URL
Ejemplo n.º 1
0
 /**
  * Set the serviceValidate URL of the CAS server.
  * Used only in CAS 1.0 validations
  *
  * @param string $url the serviceValidate URL
  *
  * @return void
  */
 public static function setServerServiceValidateURL($url = '')
 {
     phpCAS::traceBegin();
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->setServerServiceValidateURL($url);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
     phpCAS::traceEnd();
 }