Miscellaneous
[Implementation]


Functions

 CASClient::getURL ()
 CASClient::setURL ($url)
 CASClient::authError ($failure, $cas_url, $no_response, $bad_response='', $cas_response='', $err_code='', $err_msg='')

Variables

 $PHPCAS_CLIENT
 $PHPCAS_INIT_CALL
 $PHPCAS_AUTH_CHECK_CALL
 $PHPCAS_DEBUG
 CASClient::$_url

Function Documentation

CASClient::authError ( failure,
cas_url,
no_response,
bad_response = '',
cas_response = '',
err_code = '',
err_msg = '' 
) [private, inherited]

This method is used to print the HTML output when the user was not authenticated.

Parameters:
$failure the failure that occured
$cas_url the URL the CAS server was asked for
$no_response the response from the CAS server (other parameters are ignored if TRUE)
$bad_response bad response from the CAS server ($err_code and $err_msg ignored if TRUE)
$cas_response the response of the CAS server
$err_code the error code given by the CAS server
$err_msg the error message given by the CAS server

Definition at line 2032 of file client.php.

References CASClient::getServerVersion(), CASClient::getString(), CASClient::getURL(), CASClient::printHTMLFooter(), CASClient::printHTMLHeader(), phpCAS::trace(), phpCAS::traceBegin(), and phpCAS::traceExit().

Referenced by CASClient::validatePGT(), CASClient::validatePT(), and CASClient::validateST().

CASClient::getURL (  )  [private, inherited]

This method returns the URL of the current request (without any ticket CGI parameter).

Returns:
The URL

Definition at line 1954 of file client.php.

References CASClient::isHttps(), CASClient::setURL(), phpCAS::traceBegin(), and phpCAS::traceEnd().

Referenced by CASClient::authError(), CASClient::getServerLoginURL(), CASClient::getServerProxyValidateURL(), and CASClient::getServerServiceValidateURL().

CASClient::setURL ( url  )  [private, inherited]

This method sets the URL of the current request

Parameters:
$url url to set for service

Definition at line 2009 of file client.php.

Referenced by CASClient::getURL().


Variable Documentation

CASClient::$_url [private, inherited]

the URL of the current request (without any ticket CGI parameter). Written and read by CASClient::getURL().

Definition at line 1944 of file client.php.

$PHPCAS_AUTH_CHECK_CALL

This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors)

Definition at line 198 of file CAS.php.

Referenced by phpCAS::checkAuthentication(), phpCAS::forceAuthentication(), phpCAS::getUser(), phpCAS::isAuthenticated(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setPGTStorageDB(), and phpCAS::setPGTStorageFile().

$PHPCAS_CLIENT

This global variable is used by the interface class phpCAS.

Definition at line 179 of file CAS.php.

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

$PHPCAS_DEBUG

This global variable is used to store phpCAS debug mode.

Definition at line 209 of file CAS.php.

Referenced by phpCAS::log(), phpCAS::setDebug(), phpCAS::traceBegin(), phpCAS::traceEnd(), and phpCAS::traceExit().

$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).

Definition at line 187 of file CAS.php.

Referenced by phpCAS::client(), and phpCAS::proxy().


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