addRebroadcastHeader() public method

This method is used to add header parameters when rebroadcasting pgtIou/pgtId or logoutRequest.
public addRebroadcastHeader ( string $header ) : void
$header string Header to send when rebroadcasting.
return void
コード例 #1
0
ファイル: CAS.php プロジェクト: DCUnit711/Demeter
 /**
  * This method is used to add header parameters when rebroadcasting
  * pgtIou/pgtId or logoutRequest.
  *
  * @param String $header Header to send when rebroadcasting.
  *
  * @return void
  */
 public static function addRebroadcastHeader($header)
 {
     phpCAS::traceBegin();
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->addRebroadcastHeader($header);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
     phpCAS::traceEnd();
 }