ILIAS
Release_4_0_x_branch Revision 61816
|
Functions | |
phpCAS::serviceWeb ($url, &$err_code, &$output) | |
This method is used to access an HTTP[S] service. | |
phpCAS::serviceMail ($url, $service, $flags, &$err_code, &$err_msg, &$pt) | |
This method is used to access an IMAP/POP3/NNTP service. |
Variables | |
const | PHPCAS_SERVICE_OK = 0 |
phpCAS::service() error code on success | |
const | PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE = 1 |
phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond. | |
const | PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE = 2 |
phpCAS::service() error code when the PT could not retrieve because the response of the CAS server was ill-formed. | |
const | PHPCAS_SERVICE_PT_FAILURE = 3 |
phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to. | |
const | AVAILABLE = 4 |
phpCAS::service() error code when the service was not available. | |
const | PHPCAS_SERVICE_OK = 0 |
phpCAS::service() error code on success | |
const | PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE = 1 |
phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond. | |
const | PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE = 2 |
phpCAS::service() error code when the PT could not retrieve because the response of the CAS server was ill-formed. | |
const | PHPCAS_SERVICE_PT_FAILURE = 3 |
phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to. | |
const | AVAILABLE = 4 |
phpCAS::service() error code when the service was not available. |
phpCAS::serviceMail | ( | $url, | |
$service, | |||
$flags, | |||
& | $err_code, | ||
& | $err_msg, | ||
& | $pt | ||
) |
This method is used to access an IMAP/POP3/NNTP service.
$url | a string giving the URL of the service, including the mailing box for IMAP URLs, as accepted by imap_open(). |
$service | a string giving for CAS retrieve Proxy ticket |
$flags | options given to imap_open(). |
$err_code | an error code Possible values are PHPCAS_SERVICE_OK (on success), PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE, PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_NOT AVAILABLE. |
$err_msg | an error message on failure |
$pt | the Proxy Ticket (PT) retrieved from the CAS server to access the URL on success, FALSE on error). |
Definition at line 871 of file CAS.php.
References $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, $res, phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
phpCAS::serviceWeb | ( | $url, | |
& | $err_code, | ||
& | $output | ||
) |
This method is used to access an HTTP[S] service.
$url | the service to access. |
$err_code | an error code Possible values are PHPCAS_SERVICE_OK (on success), PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE, PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_NOT AVAILABLE. |
$output | the output of the service (also used to give an error message on failure). |
Definition at line 828 of file CAS.php.
References $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, $res, phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
const AVAILABLE = 4 |
const AVAILABLE = 4 |
const PHPCAS_SERVICE_OK = 0 |
const PHPCAS_SERVICE_OK = 0 |
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE = 2 |
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE = 2 |
const PHPCAS_SERVICE_PT_FAILURE = 3 |
const PHPCAS_SERVICE_PT_FAILURE = 3 |
const PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE = 1 |