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

Callback from the CAS server
[CAS Proxy features (CAS 2.0, Proxy Granting Tickets)]


Functions

 CASClient::setCallbackMode ($callback_mode)
 CASClient::isCallbackMode ()
 CASClient::getCallbackURL ()
 CASClient::setCallbackURL ($url)
 CASClient::callback ()

Variables

 CASClient::$_callback_mode
 CASClient::$_callback_url

Function Documentation

CASClient::callback  )  [private, inherited]
 

This method is called by CASClient::CASClient() when running in callback mode. It stores the PGT and its PGT Iou, prints its output and halts.

Definition at line 1202 of file client.php.

References CASClient::printHTMLFooter(), phpCAS::traceBegin(), and phpCAS::traceExit().

Referenced by CASClient::wasPreviouslyAuthenticated().

CASClient::getCallbackURL  )  [private, inherited]
 

This method returns the URL that should be used for the PGT callback (in fact the URL of the current request without any CGI parameter, except if phpCAS::setFixedCallbackURL() was used).

Returns:
The callback URL

Definition at line 1149 of file client.php.

References CASClient::isHttps(), and CASClient::setCallbackURL().

CASClient::isCallbackMode  )  [private, inherited]
 

This method returns TRUE when the CAs client is running i callback mode, FALSE otherwise.

Returns:
A boolean.

Definition at line 1125 of file client.php.

Referenced by CASClient::CASClient(), and CASClient::wasPreviouslyAuthenticated().

CASClient::setCallbackMode callback_mode  )  [private, inherited]
 

This method sets/unsets callback mode.

Parameters:
$callback_mode TRUE to set callback mode, FALSE otherwise.

Definition at line 1112 of file client.php.

References CASClient::setCallbackMode().

Referenced by CASClient::CASClient(), and CASClient::setCallbackMode().

CASClient::setCallbackURL url  )  [private, inherited]
 

This method sets the callback url.

Parameters:
$callback_url url to set callback

Definition at line 1191 of file client.php.

References CASClient::setCallbackURL().

Referenced by CASClient::getCallbackURL(), and CASClient::setCallbackURL().


Variable Documentation

CASClient::$_callback_mode [private, inherited]
 

a boolean to know if the CAS client is running in callback mode. Written by CASClient::setCallBackMode(), read by CASClient::isCallbackMode().

Definition at line 1103 of file client.php.

CASClient::$_callback_url [private, inherited]
 

the URL that should be used for the PGT callback (in fact the URL of the current request without any CGI parameter). Written and read by CASClient::getCallbackURL().

Definition at line 1138 of file client.php.


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