ILIAS
Release_4_2_x_branch Revision 61807
|
Functions | |
CASClient::getURL () | |
This method returns the URL of the current request (without any ticket CGI parameter). | |
CASClient::removeParameterFromQueryString ($parameterName, $queryString) | |
Removes a parameter from a query string. | |
CASClient::setURL ($url) | |
This method sets the URL of the current request. | |
CASClient::authError ($failure, $cas_url, $no_response, $bad_response='', $cas_response='', $err_code='', $err_msg='') | |
This method is used to print the HTML output when the user was not authenticated. |
Variables | |
CASClient::$_url | |
the URL of the current request (without any ticket CGI parameter). | |
$GLOBALS ['PHPCAS_CLIENT'] | |
This global variable is used by the interface class phpCAS. | |
$GLOBALS ['PHPCAS_INIT_CALL'] | |
This global variable is used to store where the initializer is called from (to print a comprehensive error in case of multiple calls). | |
$GLOBALS ['PHPCAS_AUTH_CHECK_CALL'] | |
This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors) | |
$GLOBALS ['PHPCAS_DEBUG'] | |
This global variable is used to store phpCAS debug mode. | |
$PHPCAS_CLIENT | |
This global variable is used by the interface class phpCAS. | |
$PHPCAS_INIT_CALL | |
This global variable is used to store where the initializer is called from (to print a comprehensive error in case of multiple calls). | |
$PHPCAS_AUTH_CHECK_CALL | |
This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors) | |
$PHPCAS_DEBUG | |
This global variable is used to store phpCAS debug mode. |
|
private |
This method is used to print the HTML output when the user was not authenticated.
$failure | the failure that occured |
$cas_url | the URL the CAS server was asked for |
$no_response | the response from the CAS server (other parameters are ignored if TRUE) |
$bad_response | bad response from the CAS server ($err_code and $err_msg ignored if TRUE) |
$cas_response | the response of the CAS server |
$err_code | the error code given by the CAS server |
$err_msg | the error message given by the CAS server |
Definition at line 2722 of file client.php.
References $failure, CAS_STR_AUTHENTICATION_FAILED, CAS_STR_YOU_WERE_NOT_AUTHENTICATED, CAS_VERSION_1_0, CAS_VERSION_2_0, exit, phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceExit().
Referenced by CASClient\validateST().
|
private |
This method returns the URL of the current request (without any ticket CGI parameter).
Definition at line 2621 of file client.php.
Referenced by CASClient\getServerLoginURL(), CASClient\getServerProxyValidateURL(), CASClient\getServerSamlValidateURL(), CASClient\getServerServiceValidateURL(), and CASClient\isAuthenticated().
CASClient::removeParameterFromQueryString | ( | $parameterName, | |
$queryString | |||
) |
Removes a parameter from a query string.
string | $parameterName | |
string | $queryString |
Definition at line 2685 of file client.php.
|
private |
This method sets the URL of the current request.
$url | url to set for service |
Definition at line 2699 of file client.php.
|
private |
the URL of the current request (without any ticket CGI parameter).
Written and read by CASClient::getURL().
Definition at line 2611 of file client.php.
$GLOBALS['PHPCAS_CLIENT'] |
$GLOBALS['PHPCAS_INIT_CALL'] |
$GLOBALS['PHPCAS_AUTH_CHECK_CALL'] |
$GLOBALS['PHPCAS_DEBUG'] |
$PHPCAS_AUTH_CHECK_CALL |
This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors)
Definition at line 195 of file CAS.php.
Referenced by phpCAS\checkAuthentication(), phpCAS\forceAuthentication(), phpCAS\getAttributes(), phpCAS\getUser(), phpCAS\isAuthenticated(), phpCAS\serviceMail(), phpCAS\serviceWeb(), phpCAS\setPGTStorageDB(), and phpCAS\setPGTStorageFile().
$PHPCAS_CLIENT |
This global variable is used by the interface class phpCAS.
Definition at line 176 of file CAS.php.
Referenced by ilAuthCAS\__construct(), phpCAS\checkAuthentication(), ilCASAuth\checkCASAuth(), phpCAS\client(), ilAuthContainerCAS\fetchData(), ilAuthContainerCAS\forceAuthentication(), phpCAS\forceAuthentication(), phpCAS\getAttributes(), phpCAS\getServerLoginURL(), phpCAS\getServerLogoutURL(), phpCAS\getServiceURL(), phpCAS\getUser(), phpCAS\handleLogoutRequests(), phpCAS\isAuthenticated(), phpCAS\isSessionAuthenticated(), ilAuthContainerCAS\loginObserver(), phpCAS\logout(), phpCAS\logoutWithRedirectService(), phpCAS\logoutWithRedirectServiceAndUrl(), phpCAS\logoutWithUrl(), phpCAS\proxy(), phpCAS\retrievePT(), phpCAS\serviceMail(), phpCAS\serviceWeb(), phpCAS\setCacheTimesForAuthRecheck(), phpCAS\setCasServerCACert(), phpCAS\setCasServerCert(), phpCAS\setExtraCurlOption(), phpCAS\setFixedCallbackURL(), phpCAS\setFixedServiceURL(), phpCAS\setHTMLFooter(), phpCAS\setHTMLHeader(), phpCAS\setLang(), phpCAS\setNoCasServerValidation(), phpCAS\setPGTStorageDB(), phpCAS\setPGTStorageFile(), phpCAS\setServerLoginURL(), phpCAS\setServerLogoutURL(), phpCAS\setServerProxyValidateURL(), phpCAS\setServerSamlValidateURL(), and phpCAS\setServerServiceValidateURL().
$PHPCAS_DEBUG |
This global variable is used to store phpCAS debug mode.
Definition at line 206 of file CAS.php.
Referenced by phpCAS\log(), phpCAS\setDebug(), phpCAS\traceBegin(), phpCAS\traceEnd(), and phpCAS\traceExit().
$PHPCAS_INIT_CALL |
This global variable is used to store where the initializer is called from (to print a comprehensive error in case of multiple calls).
Definition at line 184 of file CAS.php.
Referenced by phpCAS\client(), and phpCAS\proxy().