Enumerations | |
| enum | CAS_PGT_STORAGE_FILE_DEFAULT_PATH |
| enum | CAS_PGT_STORAGE_FILE_FORMAT_PLAIN |
| enum | CAS_PGT_STORAGE_FILE_FORMAT_XML |
| enum | CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT |
Functions | |
| static | phpCAS::setPGTStorage ($storage) |
| static | phpCAS::setPGTStorageDb ($dsn_or_pdo, $username='', $password='', $table='', $driver_options=null) |
| static | phpCAS::setPGTStorageFile ($format= '', $path= '') |
| static phpCAS::setPGTStorage | ( | $ | storage | ) | [static, inherited] |
This method can be used to set a custom PGT storage object.
| $storage | a PGT storage object that inherits from the CAS_PGTStorage class |
Definition at line 716 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
| static phpCAS::setPGTStorageDb | ( | $ | dsn_or_pdo, | |
| $ | username = '', |
|||
| $ | password = '', |
|||
| $ | table = '', |
|||
| $ | driver_options = null | |||
| ) | [static, inherited] |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests in a database.
| $dsn_or_pdo | a dsn string to use for creating a PDO object or a PDO object | |
| $username | the username to use when connecting to the database | |
| $password | the password to use when connecting to the database | |
| $table | the table to use for storing and retrieving PGT's | |
| $driver_options | any driver options to use when connecting to the database |
Definition at line 746 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
| static phpCAS::setPGTStorageFile | ( | $ | format = '', |
|
| $ | path = '' | |||
| ) | [static, inherited] |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests onto the filesystem.
| $format | the format used to store the PGT's (`plain' and `xml' allowed) | |
| $path | the path where the PGT's should be stored |
Definition at line 779 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
1.7.1