18 require_once
'config.php';
51 <title>
phpCAS proxied proxy example (with sessioning)</title>
52 <link rel=
"stylesheet" type=
'text/css' href=
'example.css'/>
55 <h1>
phpCAS proxied proxy example (with sessioning)</h1>
56 <?php require
'script_info.php' ?>
57 <p>the user
's login is <b><?php echo phpCAS::getUser(); ?></b>.</p> 58 <h2>Response from service <?php echo $serviceUrl; ?></h2> 61 // call a service and change the color depending on the result 62 if (phpCAS::serviceWeb($serviceUrl, $err_code, $output)) { 63 echo '<div
class=
"success">
'; 65 echo '<div
class=
"error">
'; static forceAuthentication()
static proxy($server_version, $server_hostname, $server_port, $server_uri, $changeSessionID=true, \SessionHandlerInterface $sessionHandler=null)
static setLogger($logger=null)
static setVerbose($verbose)
static setNoCasServerValidation()