ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Modules | |
Internal behaviour of phpCAS | |
HTML output | |
Internationalization | |
To add a new language: | |
Functions | |
CAS_Client::getServerVersion () | |
This method is used to retrieve the version of the CAS server. More... | |
CAS_Client::_getServerHostname () | |
This method is used to retrieve the hostname of the CAS server. More... | |
CAS_Client::_getServerPort () | |
This method is used to retrieve the port of the CAS server. More... | |
CAS_Client::_getServerURI () | |
This method is used to retrieve the URI of the CAS server. More... | |
CAS_Client::_getServerBaseURL () | |
This method is used to retrieve the base URL of the CAS server. More... | |
CAS_Client::getServerLoginURL ($gateway=false, $renew=false) | |
This method is used to retrieve the login URL of the CAS server. More... | |
CAS_Client::setServerLoginURL ($url) | |
This method sets the login URL of the CAS server. More... | |
CAS_Client::setServerServiceValidateURL ($url) | |
This method sets the serviceValidate URL of the CAS server. More... | |
CAS_Client::setServerProxyValidateURL ($url) | |
This method sets the proxyValidate URL of the CAS server. More... | |
CAS_Client::setServerSamlValidateURL ($url) | |
This method sets the samlValidate URL of the CAS server. More... | |
CAS_Client::getServerServiceValidateURL () | |
This method is used to retrieve the service validating URL of the CAS server. More... | |
CAS_Client::getServerSamlValidateURL () | |
This method is used to retrieve the SAML validating URL of the CAS server. More... | |
CAS_Client::getServerProxyValidateURL () | |
This method is used to retrieve the proxy validating URL of the CAS server. More... | |
CAS_Client::getServerProxyURL () | |
This method is used to retrieve the proxy URL of the CAS server. More... | |
CAS_Client::getServerLogoutURL () | |
This method is used to retrieve the logout URL of the CAS server. More... | |
CAS_Client::setServerLogoutURL ($url) | |
This method sets the logout URL of the CAS server. More... | |
CAS_Client::setExtraCurlOption ($key, $value) | |
This method is used to set additional user curl options. More... | |
CAS_Client::__construct ( $server_version, $proxy, $server_hostname, $server_port, $server_uri, $changeSessionID=true) | |
CAS_Client constructor. More... | |
CAS_Client::_setChangeSessionID ($allowed) | |
Set a parameter whether to allow phpCas to change session_id. More... | |
CAS_Client::getChangeSessionID () | |
Get whether phpCas is allowed to change session_id. More... | |
Variables | |
CAS_Client::$_server | |
a record to store information about the CAS server. More... | |
CAS_Client::$_curl_options = array() | |
An array to store extra curl options. More... | |
CAS_Client::$_change_session_id | |
A variable to whether phpcas will use its own session handling. More... | |
CAS_Client::__construct | ( | $server_version, | |
$proxy, | |||
$server_hostname, | |||
$server_port, | |||
$server_uri, | |||
$changeSessionID = true |
|||
) |
CAS_Client constructor.
string | $server_version | the version of the CAS server |
bool | $proxy | true if the CAS client is a CAS proxy |
string | $server_hostname | the hostname of the CAS server |
int | $server_port | the port the CAS server is running on |
string | $server_uri | the URI the CAS server is responding on |
bool | $changeSessionID | Allow phpCAS to change the session_id (Single Sign Out/handleLogoutRequests is based on that change) |
Definition at line 902 of file Client.php.
References $_GET, $_SESSION, CAS_Client\_isCallbackMode(), CAS_Client\_isHttps(), CAS_Client\_isLogoutRequest(), CAS_Client\_setCallbackMode(), CAS_Client\_setChangeSessionID(), array, CAS_VERSION_1_0, CAS_VERSION_2_0, CAS_VERSION_3_0, phpCAS\error(), CAS_Client\isProxy(), CAS_Client\isSessionAuthenticated(), SAML_VERSION_1_1, phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
This method is used to retrieve the base URL of the CAS server.
Definition at line 313 of file Client.php.
References CAS_Client\_getServerHostname(), CAS_Client\_getServerPort(), and CAS_Client\_getServerURI().
Referenced by CAS_Client\_htmlFilterOutput(), CAS_Client\getServerLoginURL(), CAS_Client\getServerLogoutURL(), CAS_Client\getServerProxyURL(), CAS_Client\getServerProxyValidateURL(), CAS_Client\getServerSamlValidateURL(), and CAS_Client\getServerServiceValidateURL().
|
private |
This method is used to retrieve the hostname of the CAS server.
Definition at line 283 of file Client.php.
Referenced by CAS_Client\_getServerBaseURL(), and CAS_Client\handleLogoutRequests().
|
private |
This method is used to retrieve the port of the CAS server.
Definition at line 293 of file Client.php.
Referenced by CAS_Client\_getServerBaseURL().
|
private |
This method is used to retrieve the URI of the CAS server.
Definition at line 303 of file Client.php.
Referenced by CAS_Client\_getServerBaseURL().
|
private |
Set a parameter whether to allow phpCas to change session_id.
bool | $allowed | allow phpCas to change session_id |
Definition at line 1062 of file Client.php.
Referenced by CAS_Client\__construct().
CAS_Client::getChangeSessionID | ( | ) |
Get whether phpCas is allowed to change session_id.
Definition at line 1072 of file Client.php.
References CAS_Client\$_change_session_id.
Referenced by CAS_Client\_renameSession(), and CAS_Client\handleLogoutRequests().
CAS_Client::getServerLoginURL | ( | $gateway = false , |
|
$renew = false |
|||
) |
This method is used to retrieve the login URL of the CAS server.
bool | $gateway | true to check authentication, false to force it |
bool | $renew | true to force the authentication with the CAS server |
Definition at line 337 of file Client.php.
References $url, CAS_Client\_buildQueryUrl(), CAS_Client\_getServerBaseURL(), CAS_Client\getURL(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CAS_Client\redirectToCas().
CAS_Client::getServerLogoutURL | ( | ) |
This method is used to retrieve the logout URL of the CAS server.
Definition at line 541 of file Client.php.
References CAS_Client\_getServerBaseURL().
Referenced by CAS_Client\logout().
CAS_Client::getServerProxyURL | ( | ) |
This method is used to retrieve the proxy URL of the CAS server.
Definition at line 519 of file Client.php.
References CAS_Client\_getServerBaseURL(), CAS_VERSION_1_0, CAS_VERSION_2_0, CAS_VERSION_3_0, and CAS_Client\getServerVersion().
Referenced by CAS_Client\retrievePT().
CAS_Client::getServerProxyValidateURL | ( | ) |
This method is used to retrieve the proxy validating URL of the CAS server.
Definition at line 488 of file Client.php.
References $url, CAS_Client\_buildQueryUrl(), CAS_Client\_getServerBaseURL(), CAS_VERSION_1_0, CAS_VERSION_2_0, CAS_VERSION_3_0, CAS_Client\getServerVersion(), CAS_Client\getURL(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CAS_Client\validateCAS20().
CAS_Client::getServerSamlValidateURL | ( | ) |
This method is used to retrieve the SAML validating URL of the CAS server.
Definition at line 463 of file Client.php.
References $url, CAS_Client\_buildQueryUrl(), CAS_Client\_getServerBaseURL(), CAS_Client\getServerVersion(), CAS_Client\getURL(), SAML_VERSION_1_1, phpCAS\traceBegin(), and phpCAS\traceEnd().
CAS_Client::getServerServiceValidateURL | ( | ) |
This method is used to retrieve the service validating URL of the CAS server.
Definition at line 431 of file Client.php.
References $url, CAS_Client\_buildQueryUrl(), CAS_Client\_getServerBaseURL(), CAS_VERSION_1_0, CAS_VERSION_2_0, CAS_VERSION_3_0, CAS_Client\getServerVersion(), CAS_Client\getURL(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CAS_Client\validateCAS10(), and CAS_Client\validateCAS20().
CAS_Client::getServerVersion | ( | ) |
This method is used to retrieve the version of the CAS server.
Definition at line 273 of file Client.php.
Referenced by CAS_Client\_authError(), CAS_Client\_htmlFilterOutput(), CAS_Client\_readURL(), CAS_Client\getServerProxyURL(), CAS_Client\getServerProxyValidateURL(), CAS_Client\getServerSamlValidateURL(), CAS_Client\getServerServiceValidateURL(), and CAS_Client\isAuthenticated().
CAS_Client::setExtraCurlOption | ( | $key, | |
$value | |||
) |
This method is used to set additional user curl options.
string | $key | name of the curl option |
string | $value | value of the curl option |
Definition at line 579 of file Client.php.
CAS_Client::setServerLoginURL | ( | $url | ) |
This method sets the login URL of the CAS server.
string | $url | the login URL |
Definition at line 365 of file Client.php.
References $url.
CAS_Client::setServerLogoutURL | ( | $url | ) |
This method sets the logout URL of the CAS server.
string | $url | the logout URL |
Definition at line 557 of file Client.php.
References $url.
CAS_Client::setServerProxyValidateURL | ( | $url | ) |
This method sets the proxyValidate URL of the CAS server.
string | $url | the proxyValidate URL |
Definition at line 399 of file Client.php.
References $url.
CAS_Client::setServerSamlValidateURL | ( | $url | ) |
This method sets the samlValidate URL of the CAS server.
string | $url | the samlValidate URL |
Definition at line 416 of file Client.php.
References $url.
CAS_Client::setServerServiceValidateURL | ( | $url | ) |
This method sets the serviceValidate URL of the CAS server.
string | $url | the serviceValidate URL |
Definition at line 382 of file Client.php.
References $url.
|
private |
A variable to whether phpcas will use its own session handling.
Default = true
Definition at line 1053 of file Client.php.
Referenced by CAS_Client\getChangeSessionID().
|
private |
An array to store extra curl options.
Definition at line 569 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 CAS_Client::CAS_Client(), read by CAS_Client::getServerVersion(), CAS_Client::_getServerHostname(), CAS_Client::_getServerPort() and CAS_Client::_getServerURI().
The other fields are written and read by CAS_Client::_getServerBaseURL(), CAS_Client::getServerLoginURL(), CAS_Client::getServerServiceValidateURL(), CAS_Client::getServerProxyValidateURL() and CAS_Client::getServerLogoutURL().
Definition at line 262 of file Client.php.