|
ILIAS
Release_4_1_x_branch Revision 61804
|
Collaboration diagram for Configuration:Modules | |
| HTML output | |
| Internationalization | |
| To add a new language: | |
Functions | |
| CASClient::getServerVersion () | |
| This method is used to retrieve the version of the CAS server. | |
| CASClient::getServerHostname () | |
| This method is used to retrieve the hostname of the CAS server. | |
| CASClient::getServerPort () | |
| This method is used to retrieve the port of the CAS server. | |
| CASClient::getServerURI () | |
| This method is used to retrieve the URI of the CAS server. | |
| CASClient::getServerBaseURL () | |
| This method is used to retrieve the base URL of the CAS server. | |
| CASClient::getServerLoginURL ($gateway=false, $renew=false) | |
| This method is used to retrieve the login URL of the CAS server. | |
| CASClient::setServerLoginURL ($url) | |
| This method sets the login URL of the CAS server. | |
| CASClient::setServerServiceValidateURL ($url) | |
| This method sets the serviceValidate URL of the CAS server. | |
| CASClient::setServerProxyValidateURL ($url) | |
| This method sets the proxyValidate URL of the CAS server. | |
| CASClient::setServerSamlValidateURL ($url) | |
| This method sets the samlValidate URL of the CAS server. | |
| CASClient::getServerServiceValidateURL () | |
| This method is used to retrieve the service validating URL of the CAS server. | |
| CASClient::getServerSamlValidateURL () | |
| This method is used to retrieve the SAML validating URL of the CAS server. | |
| CASClient::getServerProxyValidateURL () | |
| This method is used to retrieve the proxy validating URL of the CAS server. | |
| CASClient::getServerProxyURL () | |
| This method is used to retrieve the proxy URL of the CAS server. | |
| CASClient::getServerLogoutURL () | |
| This method is used to retrieve the logout URL of the CAS server. | |
| CASClient::setServerLogoutURL ($url) | |
| This method sets the logout URL of the CAS server. | |
| CASClient::setExtraCurlOption ($key, $value) | |
| This method is used to set additional user curl options. | |
| CASClient::isHttps () | |
| This method checks to see if the request is secured via HTTPS. | |
| CASClient::CASClient ($server_version, $proxy, $server_hostname, $server_port, $server_uri, $start_session=true) | |
| CASClient constructor. | |
| CASClient::getServerLoginURL ($gateway) | |
| This method is used to retrieve the login URL of the CAS server. | |
Variables | |
| CASClient::$_server | |
| a record to store information about the CAS server. | |
| CASClient::$_curl_options = array() | |
| An array to store extra curl options. | |
| CASClient::CASClient | ( | $server_version, | |
| $proxy, | |||
| $server_hostname, | |||
| $server_port, | |||
| $server_uri, | |||
$start_session = true |
|||
| ) |
CASClient constructor.
| $server_version | the version of the CAS server |
| $proxy | TRUE if the CAS client is a CAS proxy, FALSE otherwise |
| $server_hostname | the hostname of the CAS server |
| $server_port | the port the CAS server is running on |
| $server_uri | the URI the CAS server is responding on |
| $start_session | Have phpCAS start PHP sessions (default true) |
Definition at line 574 of file client.php.
References $_GET, CAS_VERSION_1_0, CAS_VERSION_2_0, phpCAS\error(), CASClient\getServerVersion(), CASClient\isCallbackMode(), CASClient\isHttps(), CASClient\isLogoutRequest(), CASClient\isProxy(), SAML_VERSION_1_1, CASClient\setCallbackMode(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Here is the call graph for this function:
|
private |
This method is used to retrieve the base URL of the CAS server.
Definition at line 331 of file client.php.
Referenced by CASClient\getServerLoginURL(), CASClient\getServerLogoutURL(), CASClient\getServerProxyURL(), CASClient\getServerProxyValidateURL(), CASClient\getServerSamlValidateURL(), CASClient\getServerServiceValidateURL(), and CASClient\HTMLFilterOutput().
Here is the caller graph for this function:
|
private |
This method is used to retrieve the hostname of the CAS server.
Definition at line 307 of file client.php.
Referenced by CASClient\handleLogoutRequests().
Here is the caller graph for this function:
|
private |
This method is used to retrieve the login URL of the CAS server.
| $gateway | true to check authentication, false to force it |
Definition at line 325 of file client.php.
References CASClient\getServerBaseURL(), CASClient\getURL(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Here is the call graph for this function:
|
private |
This method is used to retrieve the login URL of the CAS server.
| $gateway | true to check authentication, false to force it |
| $renew | true to force the authentication with the CAS server NOTE : It is recommended that CAS implementations ignore the "gateway" parameter if "renew" is set |
Definition at line 353 of file client.php.
References CASClient\getServerBaseURL(), CASClient\getURL(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CASClient\redirectToCas().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
This method is used to retrieve the logout URL of the CAS server.
Definition at line 509 of file client.php.
References CASClient\getServerBaseURL().
Referenced by CASClient\logout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
This method is used to retrieve the port of the CAS server.
Definition at line 315 of file client.php.
|
private |
This method is used to retrieve the proxy URL of the CAS server.
Definition at line 488 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), and CASClient\getServerVersion().
Here is the call graph for this function:
|
private |
This method is used to retrieve the proxy validating URL of the CAS server.
Definition at line 466 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), CASClient\getServerVersion(), and CASClient\getURL().
Here is the call graph for this function:
|
private |
This method is used to retrieve the SAML validating URL of the CAS server.
Definition at line 447 of file client.php.
References CASClient\getServerBaseURL(), CASClient\getServerVersion(), CASClient\getURL(), SAML_VERSION_1_1, phpCAS\traceBegin(), and phpCAS\traceEnd().
Here is the call graph for this function:
|
private |
This method is used to retrieve the service validating URL of the CAS server.
Definition at line 426 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), CASClient\getServerVersion(), and CASClient\getURL().
Referenced by CASClient\validateST().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
This method is used to retrieve the URI of the CAS server.
Definition at line 323 of file client.php.
|
private |
This method is used to retrieve the version of the CAS server.
Definition at line 297 of file client.php.
Referenced by CASClient\CASClient(), CASClient\getServerProxyURL(), CASClient\getServerProxyValidateURL(), CASClient\getServerSamlValidateURL(), CASClient\getServerServiceValidateURL(), and CASClient\HTMLFilterOutput().
Here is the caller graph for this function:
|
private |
This method checks to see if the request is secured via HTTPS.
Definition at line 547 of file client.php.
Referenced by CASClient\CASClient().
Here is the caller graph for this function:| CASClient::setExtraCurlOption | ( | $key, | |
| $value | |||
| ) |
This method is used to set additional user curl options.
Definition at line 537 of file client.php.
|
private |
This method sets the login URL of the CAS server.
| $url | the login URL |
Definition at line 379 of file client.php.
|
private |
This method sets the logout URL of the CAS server.
| $url | the logout URL |
Definition at line 524 of file client.php.
|
private |
This method sets the proxyValidate URL of the CAS server.
| $url | the proxyValidate URL |
Definition at line 403 of file client.php.
|
private |
This method sets the samlValidate URL of the CAS server.
| $url | the samlValidate URL |
Definition at line 415 of file client.php.
|
private |
This method sets the serviceValidate URL of the CAS server.
| $url | the serviceValidate URL |
Definition at line 391 of file client.php.
| CASClient::$_curl_options = array() |
An array to store extra curl options.
Definition at line 532 of file client.php.
|
private |
a record to store information about the CAS server.
$_server["version"], $_server["hostname"], $_server["port"] and $_server["uri"] are written by CASClient::CASClient(), read by CASClient::getServerVersion(), CASClient::getServerHostname(), CASClient::getServerPort() and CASClient::getServerURI().
The other fields are written and read by CASClient::getServerBaseURL(), CASClient::getServerLoginURL(), CASClient::getServerServiceValidateURL(), CASClient::getServerProxyValidateURL() and CASClient::getServerLogoutURL().
Definition at line 285 of file client.php.