src/PhpCasProxy.php
/**
     * Pass service validate http response
     *
     * @param string $service proxied service
     * @param string $ticket CAS ticket
     * @param int $timeout
     *
     * @return bool always true, but never reach.
     */
Pass service validate http response
@param string $service proxied service
@param string $ticket CAS ticket
@param int $timeout

@return bool always true, but never reach.
Pass service validate http response @param string $service proxied service @param string $ticket CAS ticket @param int $timeout @return bool always true but never reach .
public function serviceValidate($service, $ticket, $timeout = 10)
    {
        header('Content-Type: text/xml; charset=UTF-8');
        exit(self::file_get_contents($this->server['service_validate_url'] . '?' . http_build_query(array(
                'service' => $this->my_service . '?' . http_build_query(array(
                        'service' => $service,
                    )),
                'ticket' => $ticket,
            )), $timeout));
        return true;
    }
public function serviceValidate ( $ service , $ ticket , $ timeout = 10 ) { header ( 'Content-Type: text/xml; charset=UTF-8' ) ; exit ( self :: file_get_contents ( $ this -> server [ 'service_validate_url' ] . '?' . http_build_query ( array ( 'service' => $ this -> my_service . '?' . http_build_query ( array ( 'service' => $ service , ) ) , 'ticket' => $ ticket , ) ) , $ timeout ) ) ; return true ; }
Pass service validate http response
 @param string $service proxied service
 @param string $ticket CAS ticket
 @param int $timeout
Pass service validate http response @param string $service proxied service @param string $ticket CAS ticket @param int $timeout
// never reach