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

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