setServerSamlValidateURL() 공개 메소드

This method sets the samlValidate URL of the CAS server.
public setServerSamlValidateURL ( string $url ) : string
$url string the samlValidate URL
리턴 string samlValidate URL
예제 #1
0
파일: CAS.php 프로젝트: DCUnit711/Demeter
 /**
  * Set the samlValidate URL of the CAS server.
  *
  * @param string $url the samlValidate URL
  *
  * @return void
  */
 public static function setServerSamlValidateURL($url = '')
 {
     phpCAS::traceBegin();
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->setServerSamlValidateURL($url);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
     phpCAS::traceEnd();
 }