ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ProxyTicketException.php
Go to the documentation of this file.
1 <?php
2 
42 {
43 
53  {
54  // Warn if the code is not in our allowed list
55  $ptCodes = array(
59  );
60  if (!in_array($code, $ptCodes)) {
61  trigger_error(
62  'Invalid code ' . $code
63  . ' passed. Must be one of PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, or PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE.'
64  );
65  }
66 
68  }
69 }
__construct($message, $code=PHPCAS_SERVICE_PT_FAILURE)
Constructor.
const PHPCAS_SERVICE_PT_FAILURE
phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to...
Definition: CAS.php:183
const PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE
phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond...
Definition: CAS.php:173
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE
phpCAS::service() error code when the PT could not retrieve because the response of the CAS server wa...
Definition: CAS.php:178
__construct(Container $dic, ilPlugin $plugin)
$message
Definition: xapiexit.php:14
An Exception for errors related to fetching or validating proxy tickets.
A root exception interface for all exceptions in phpCAS.
Definition: Exception.php:55