18 require_once
'config.php';
54 <title>
phpCAS proxy example with PGT storage to file</title>
55 <link rel=
"stylesheet" type=
'text/css' href=
'example.css'/>
58 <h1>
phpCAS proxy example with PGT storage to file</h1>
59 <?php require
'script_info.php' ?>
60 <p>the user
's login is <b><?php echo phpCAS::getUser(); ?></b>.</p> 61 <h2>Response from service <?php echo $serviceUrl; ?></h2> 64 // call a service and change the color depending on the result 65 if ( phpCAS::serviceWeb($serviceUrl, $err_code, $output) ) { 66 echo '<div
class=
"success">
'; 68 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 setPGTStorageFile($path='')
static setNoCasServerValidation()