ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
CAS.php File Reference

Interface class of the phpCAS library. More...

Go to the source code of this file.

Data Structures

class  phpCAS
 The phpCAS class is a simple container for the phpCAS library. More...
 

Variables

const PHPCAS_VERSION '0.4.20-1'
 phpCAS version. More...
 
const CAS_VERSION_1_0 '1.0'
 CAS version 1.0. More...
 
const CAS_VERSION_2_0 '2.0'
 
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH '/tmp'
 Default path used when storing PGT's to file. More...
 
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN 'plain'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files More...
 
const CAS_PGT_STORAGE_FILE_FORMAT_XML 'xml'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files More...
 
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
 Default format used when storing PGT's to file. More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE 'mysql'
 default database type when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME 'localhost'
 default host when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_PORT ''
 default port when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE 'phpCAS'
 default database when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE 'pgt'
 default table when storing PGT's to database More...
 
const PHPCAS_SERVICE_OK 0
 phpCAS::service() error code on success More...
 
const PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE 1
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond. More...
 
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE 2
 phpCAS::service() error code when the PT could not retrieve because the response of the CAS server was ill-formed. More...
 
const PHPCAS_SERVICE_PT_FAILURE 3
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to. More...
 
const AVAILABLE 4
 phpCAS::service() error code when the service was not available. More...
 
const PHPCAS_LANG_ENGLISH 'english'
 
const PHPCAS_LANG_FRENCH 'french'
 
const PHPCAS_LANG_GREEK 'greek'
 
const PHPCAS_LANG_DEFAULT PHPCAS_LANG_ENGLISH
 phpCAS default language (when phpCAS::setLang() is not used) More...
 
 $PHPCAS_CLIENT
 This global variable is used by the interface class phpCAS. More...
 
 $PHPCAS_INIT_CALL
 This global variable is used to store where the initializer is called from (to print a comprehensive error in case of multiple calls). More...
 
 $PHPCAS_AUTH_CHECK_CALL
 This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors) More...
 
 $PHPCAS_DEBUG
 This global variable is used to store phpCAS debug mode. More...
 
if(version_compare(PHP_VERSION, '5','>=')) else
 

Detailed Description

Interface class of the phpCAS library.

Definition in file CAS.php.

Variable Documentation

◆ else

if (version_compare(PHP_VERSION, '5','>=')) else
Initial value:
{
include_once(dirname(__FILE__).'/client4.php')

Definition at line 222 of file CAS.php.

◆ PHPCAS_VERSION

const PHPCAS_VERSION '0.4.20-1'

phpCAS version.

accessible for the user by phpCAS::getVersion().

Definition at line 37 of file CAS.php.