Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

Initialization
[User interface]


Functions

 phpCAS::client ($server_version, $server_hostname, $server_port, $server_uri, $start_session=true)
 phpCAS::proxy ($server_version, $server_hostname, $server_port, $server_uri, $start_session=true)

Function Documentation

phpCAS::client server_version,
server_hostname,
server_port,
server_uri,
start_session = true
[inherited]
 

phpCAS client initializer.

Note:
Only one of the phpCAS::client() and phpCAS::proxy functions should be called, only once, and before all other methods (except phpCAS::getVersion() and phpCAS::setDebug()).
Parameters:
$server_version the version of the CAS server
$server_hostname the hostname of the CAS server
$server_port the port the CAS server is running on
$server_uri the URI the CAS server is responding on
$start_session Have phpCAS start PHP sessions (default true)
Returns:
a newly created CASClient object

Definition at line 264 of file CAS.php.

References $PHPCAS_CLIENT, $PHPCAS_INIT_CALL, phpCAS::backtrace(), phpCAS::client(), phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().

Referenced by phpCAS::client().

phpCAS::proxy server_version,
server_hostname,
server_port,
server_uri,
start_session = true
[inherited]
 

phpCAS proxy initializer.

Note:
Only one of the phpCAS::client() and phpCAS::proxy functions should be called, only once, and before all other methods (except phpCAS::getVersion() and phpCAS::setDebug()).
Parameters:
$server_version the version of the CAS server
$server_hostname the hostname of the CAS server
$server_port the port the CAS server is running on
$server_uri the URI the CAS server is responding on
$start_session Have phpCAS start PHP sessions (default true)
Returns:
a newly created CASClient object

Definition at line 315 of file CAS.php.

References phpCAS::proxy().

Referenced by phpCAS::checkAuthentication(), phpCAS::forceAuthentication(), phpCAS::getServerLoginURL(), phpCAS::getServerLogoutURL(), phpCAS::getServiceURL(), phpCAS::getUser(), phpCAS::isSessionAuthenticated(), phpCAS::logout(), phpCAS::proxy(), phpCAS::retrievePT(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setHTMLFooter(), phpCAS::setHTMLHeader(), phpCAS::setLang(), phpCAS::setPGTStorageDB(), and phpCAS::setPGTStorageFile().


Generated on Thu Aug 17 02:03:22 2006 for phpCAS by doxygen 1.3.7