Functions | Variables

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

Functions

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

Variables

 CAS_Client::$_callback_mode
 CAS_Client::$_callback_url

Function Documentation

CAS_Client::callback (  )  [private, inherited]

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

Definition at line 1942 of file Client.php.

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

Referenced by CAS_Client::wasPreviouslyAuthenticated().

CAS_Client::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 1912 of file Client.php.

Referenced by CAS_Client::validateST().

CAS_Client::isCallbackMode (  )  [private, inherited]

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

Returns:
A boolean.

Definition at line 1891 of file Client.php.

Referenced by CAS_Client::__construct(), and CAS_Client::wasPreviouslyAuthenticated().

CAS_Client::setCallbackMode ( callback_mode  )  [private, inherited]

This method sets/unsets callback mode.

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

Definition at line 1880 of file Client.php.

Referenced by CAS_Client::__construct().

CAS_Client::setCallbackURL ( url  )  [inherited]

This method sets the callback url.

Parameters:
$callback_url url to set callback

Definition at line 1933 of file Client.php.


Variable Documentation

CAS_Client::$_callback_mode [private, inherited]

each PHP script using phpCAS in proxy mode is its own callback to get the PGT back from the CAS server. callback_mode is detected by the constructor thanks to the GET parameters. a boolean to know if the CAS client is running in callback mode. Written by CAS_Client::setCallBackMode(), read by CAS_Client::isCallbackMode().

Definition at line 1873 of file Client.php.

CAS_Client::$_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 CAS_Client::getCallbackURL().

Definition at line 1903 of file Client.php.