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
Examples:
example_gateway.php, example_html.php, example_lang.php, example_service.php, example_session_service.php, and example_simple.php.

Definition at line 266 of file CAS.php.

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

Referenced by phpCAS::checkAuthentication(), phpCAS::forceAuthentication(), phpCAS::getServerLoginURL(), phpCAS::getServerLogoutURL(), phpCAS::getUser(), phpCAS::isAuthenticated(), phpCAS::isSessionAuthenticated(), phpCAS::logout(), phpCAS::setCacheTimesForAuthRecheck(), phpCAS::setHTMLFooter(), phpCAS::setHTMLHeader(), phpCAS::setLang(), phpCAS::setServerLoginURL(), and phpCAS::setServerLogoutURL().

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
Examples:
example_db.php, example_file.php, example_proxy.php, example_proxy2.php, and example_session_proxy.php.

Definition at line 317 of file CAS.php.

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

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


Generated on Wed Mar 14 14:55:56 2007 for phpCAS by  doxygen 1.5.0