Miscellaneous
[ImplementationCAS Basic client features (CAS 1.0, Service Tickets)]

Functions

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

Variables

 CASClient::$_url
 $GLOBALS ['PHPCAS_CLIENT']
 $GLOBALS ['PHPCAS_INIT_CALL']
 $GLOBALS ['PHPCAS_AUTH_CHECK_CALL']
 $GLOBALS ['PHPCAS_DEBUG']

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

References phpCAS::trace(), phpCAS::traceBegin(), and phpCAS::traceExit().

Referenced by 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 2563 of file client.php.

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

CASClient::removeParameterFromQueryString ( parameterName,
queryString 
) [inherited]

Removes a parameter from a query string

Parameters:
string $parameterName
string $queryString
Returns:
string

http://stackoverflow.com/questions/1842681/regular-expression-to-remove-one-parameter-from-query-string

Definition at line 2627 of file client.php.

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

This method sets the URL of the current request

Parameters:
$url url to set for service

Definition at line 2641 of file client.php.


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

$GLOBALS['PHPCAS_DEBUG']

This global variable is used to store phpCAS debug mode.

Definition at line 310 of file CAS.php.

$GLOBALS['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 297 of file CAS.php.

$GLOBALS['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 284 of file CAS.php.

$GLOBALS['PHPCAS_CLIENT']

This global variable is used by the interface class phpCAS.

Definition at line 276 of file CAS.php.

Generated on Fri Jun 18 10:24:05 2010 for phpCAS by  doxygen 1.6.3