This method sets the serviceValidate URL of the CAS server.
public setServerServiceValidateURL ( string $url ) : string | ||
$url | string | the serviceValidate URL |
Результат | string | serviceValidate URL |
/** * 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(); }