ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
CAS.php File Reference

Interface class of the phpCAS library. More...

Go to the source code of this file.

Variables

const PHPCAS_VERSION = '0.4.20-1'
 phpCAS version.
const CAS_VERSION_1_0 = '1.0'
 CAS version 1.0.
const CAS_VERSION_2_0 = '2.0'
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH = '/tmp'
 Default path used when storing PGT's to file.
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN = 'plain'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files
const CAS_PGT_STORAGE_FILE_FORMAT_XML = 'xml'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT = CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
 Default format used when storing PGT's to file.
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE = 'mysql'
 default database type when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME = 'localhost'
 default host when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_PORT = ''
 default port when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE = 'phpCAS'
 default database when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE = 'pgt'
 default table when storing PGT's to database
const PHPCAS_SERVICE_OK = 0
 phpCAS::service() error code on success
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.
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.
const PHPCAS_SERVICE_PT_FAILURE = 3
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to.
const AVAILABLE = 4
 phpCAS::service() error code when the service was not available.
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)
 $PHPCAS_CLIENT
 This global variable is used by the interface class phpCAS.
 $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).
 $PHPCAS_AUTH_CHECK_CALL
 This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors)
 $PHPCAS_DEBUG
 This global variable is used to store phpCAS debug mode.

Detailed Description

Interface class of the phpCAS library.

Definition in file CAS.php.

Variable Documentation

const PHPCAS_VERSION = '0.4.20-1'

phpCAS version.

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

Definition at line 37 of file CAS.php.