18 require_once
'config.php';
85 <title>
phpCAS proxied proxy service example</title>
86 <link rel=
"stylesheet" type=
'text/css' href=
'example.css'/>
89 <h1>I am a service that can be proxied. In turn, I proxy another service.</h1>
90 <?php require
'script_info.php' ?>
91 <p>the user
's login is <b><?php echo phpCAS::getUser(); ?></b>.</p> 92 <h2>Response from service <?php echo $serviceUrl; ?></h2> 95 // call a service and change the color depending on the result 96 if ( phpCAS::serviceWeb($serviceUrl, $err_code, $output) ) { 97 echo '<div
class=
"success">
'; 99 echo '<div
class=
"error">
';
static forceAuthentication()
static allowProxyChain(CAS_ProxyChain_Interface $proxy_chain)
static proxy($server_version, $server_hostname, $server_port, $server_uri, $changeSessionID=true, \SessionHandlerInterface $sessionHandler=null)
static setLogger($logger=null)
static setVerbose($verbose)
static setNoCasServerValidation()