ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Functions | |
CAS_Client::_setCallbackMode ($callback_mode) | |
This method sets/unsets callback mode. More... | |
CAS_Client::_isCallbackMode () | |
This method returns true when the CAs client is running i callback mode, false otherwise. More... | |
CAS_Client::_getCallbackURL () | |
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). More... | |
CAS_Client::setCallbackURL ($url) | |
This method sets the callback url. More... | |
CAS_Client::_callback () | |
This method is called by CAS_Client::CAS_Client() when running in callback mode. More... | |
Variables | |
CAS_Client::$_callback_mode | |
each PHP script using phpCAS in proxy mode is its own callback to get the PGT back from the CAS server. More... | |
CAS_Client::$_callback_url | |
the URL that should be used for the PGT callback (in fact the URL of the current request without any CGI parameter). More... | |
|
private |
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 2400 of file Client.php.
References $_GET, phpCAS\error(), CAS_Client\printHTMLFooter(), CAS_Client\printHTMLHeader(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceExit().
Referenced by CAS_Client\_wasPreviouslyAuthenticated().
|
private |
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).
Definition at line 2360 of file Client.php.
References CAS_Client\$_callback_url, $_SERVER, and CAS_Client\_getClientUrl().
Referenced by CAS_Client\validateCAS20().
|
private |
This method returns true when the CAs client is running i callback mode, false otherwise.
Definition at line 2339 of file Client.php.
References CAS_Client\$_callback_mode.
Referenced by CAS_Client\__construct(), and CAS_Client\_wasPreviouslyAuthenticated().
|
private |
This method sets/unsets callback mode.
bool | $callback_mode | true to set callback mode, false otherwise. |
Definition at line 2328 of file Client.php.
Referenced by CAS_Client\__construct().
CAS_Client::setCallbackURL | ( | $url | ) |
This method sets the callback url.
string | $url | url to set callback |
Definition at line 2383 of file Client.php.
References $url, and CAS_Client\ensureIsProxy().
|
private |
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 2319 of file Client.php.
Referenced by CAS_Client\_isCallbackMode().
|
private |
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 2351 of file Client.php.
Referenced by CAS_Client\_getCallbackURL().