ILIAS
Release_3_10_x_branch Revision 61812
|
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) | |
This method is used to retrieve the login URL of the CAS server. | |
CASClient::getServerServiceValidateURL () | |
This method is used to retrieve the service 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::CASClient ($server_version, $proxy, $server_hostname, $server_port, $server_uri, $start_session=true) | |
CASClient constructor. |
Variables | |
CASClient::$_server | |
a record to store information about the CAS server. |
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 435 of file client.php.
References $_GET, CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\isCallbackMode(), CASClient\isProxy(), and CASClient\setCallbackMode().
|
private |
This method is used to retrieve the base URL of the CAS server.
Definition at line 302 of file client.php.
Referenced by CASClient\getServerLoginURL(), CASClient\getServerLogoutURL(), CASClient\getServerProxyURL(), CASClient\getServerProxyValidateURL(), CASClient\getServerServiceValidateURL(), and CASClient\HTMLFilterOutput().
|
private |
This method is used to retrieve the hostname of the CAS server.
Definition at line 278 of file client.php.
|
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(), and CASClient\getURL().
Referenced by CASClient\redirectToCas().
|
private |
This method is used to retrieve the logout URL of the CAS server.
Definition at line 409 of file client.php.
References CASClient\getServerBaseURL().
Referenced by CASClient\logout().
|
private |
This method is used to retrieve the port of the CAS server.
Definition at line 286 of file client.php.
|
private |
This method is used to retrieve the proxy URL of the CAS server.
Definition at line 388 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), and CASClient\getServerVersion().
|
private |
This method is used to retrieve the proxy validating URL of the CAS server.
Definition at line 367 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), CASClient\getServerVersion(), and CASClient\getURL().
|
private |
This method is used to retrieve the service validating URL of the CAS server.
Definition at line 346 of file client.php.
References CAS_VERSION_1_0, CAS_VERSION_2_0, CASClient\getServerBaseURL(), CASClient\getServerVersion(), and CASClient\getURL().
Referenced by CASClient\validateST().
|
private |
This method is used to retrieve the URI of the CAS server.
Definition at line 294 of file client.php.
|
private |
This method is used to retrieve the version of the CAS server.
Definition at line 268 of file client.php.
Referenced by CASClient\getServerProxyURL(), CASClient\getServerProxyValidateURL(), CASClient\getServerServiceValidateURL(), and CASClient\HTMLFilterOutput().
|
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 256 of file client.php.