mirror of https://github.com/jacekkow/uphpCAS-tests

Jacek Kowalski
2015-09-06 80d5f773718fc18ce050752299f9e38b3c6a82de
1
2
3
4
5
6
7
8
9
10
11
<?php
require_once('uphpCAS.php');
session_start();
 
try {
    $cas = new uphpCAS($_SESSION['cas']);
    $user = $cas->logout();
} catch(Exception $e) {
    echo 'Jasig authentication failed: '.$e->getMessage();
    die();
}