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

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 1962 of file client.php.

References CASClient::authError(), CAS_STR_AUTHENTICATION_FAILED, CAS_STR_YOU_WERE_NOT_AUTHENTICATED, CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient::getServerVersion(), CASClient::getURL(), CASClient::printHTMLFooter(), phpCAS::traceBegin(), and phpCAS::traceExit().

Referenced by CASClient::authError(), 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 1887 of file client.php.

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

Referenced by CASClient::authError().

CASClient::setURL url  )  [private, inherited]
 

This method sets the URL of the current request

Parameters:
$url url to set for service

Definition at line 1939 of file client.php.

References CASClient::setURL().

Referenced by CASClient::getURL(), and CASClient::setURL().


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 1877 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 196 of file CAS.php.

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

$PHPCAS_CLIENT
 

This global variable is used by the interface class phpCAS.

Definition at line 177 of file CAS.php.

Referenced by phpCAS::checkAuthentication(), phpCAS::client(), phpCAS::forceAuthentication(), phpCAS::getServerLoginURL(), phpCAS::getServerLogoutURL(), phpCAS::getServiceURL(), phpCAS::getUser(), phpCAS::isSessionAuthenticated(), phpCAS::logout(), phpCAS::retrievePT(), phpCAS::serviceMail(), phpCAS::serviceWeb(), 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 207 of file CAS.php.

Referenced by phpCAS::log(), 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 185 of file CAS.php.

Referenced by phpCAS::client().


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