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

References CASClient::printHTMLFooter(), CASClient::printHTMLHeader(), CASClient::storePGT(), phpCAS::trace(), 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 1212 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 1188 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 1175 of file client.php.

Referenced by CASClient::CASClient().

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

This method sets the callback url.

Parameters:
$callback_url url to set callback

Definition at line 1254 of file client.php.

Referenced by CASClient::getCallbackURL().


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


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