Enumerations | |
enum | DEFAULT_DEBUG_DIR |
Functions | |
static | phpCAS::setDebug ($filename= '') |
static | phpCAS::log ($str) |
static | phpCAS::error ($msg) |
static | phpCAS::trace ($str) |
static | phpCAS::traceBegin () |
static | phpCAS::traceEnd ($res= '') |
static | phpCAS::traceExit () |
enum DEFAULT_DEBUG_DIR |
static phpCAS::error | ( | $ | msg | ) | [static, inherited] |
This method is used by interface methods to print an error and where the function was originally called from.
$msg | the message to print |
Definition at line 513 of file CAS.php.
References phpCAS::trace(), and phpCAS::traceExit().
Referenced by CAS_PGTStorage_File::__construct(), CAS_PGTStorage_AbstractStorage::__construct(), CAS_Client::__construct(), CAS_Client::callback(), phpCAS::checkAuthentication(), phpCAS::client(), CAS_PGTStorage_Db::createTable(), phpCAS::forceAuthentication(), CAS_Client::getAttributes(), phpCAS::getProxiedService(), phpCAS::getProxies(), phpCAS::getServerLogoutURL(), phpCAS::getServiceURL(), CAS_PGTStorage_AbstractStorage::getStorageInfo(), CAS_PGTStorage_AbstractStorage::getStorageType(), CAS_Client::getUser(), CAS_Client::handleLogoutRequests(), CAS_PGTStorage_Db::init(), phpCAS::initializeProxiedService(), phpCAS::logout(), phpCAS::logoutWithRedirectService(), phpCAS::logoutWithRedirectServiceAndUrl(), phpCAS::logoutWithUrl(), phpCAS::proxy(), CAS_PGTStorage_AbstractStorage::read(), CAS_Client::readURL(), CAS_Client::renameSession(), phpCAS::retrievePT(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setCacheTimesForAuthRecheck(), phpCAS::setCasServerCACert(), phpCAS::setDebug(), phpCAS::setExtraCurlOption(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setHTMLFooter(), phpCAS::setHTMLHeader(), phpCAS::setLang(), phpCAS::setNoCasServerValidation(), phpCAS::setNoClearTicketsFromUrl(), CAS_Client::setPGTStorage(), phpCAS::setPGTStorage(), phpCAS::setPGTStorageDb(), phpCAS::setPGTStorageFile(), phpCAS::setPostAuthenticateCallback(), phpCAS::setServerLogoutURL(), phpCAS::setServerProxyValidateURL(), phpCAS::setServerSamlValidateURL(), phpCAS::setServerServiceValidateURL(), phpCAS::setSingleSignoutCallback(), CAS_PGTStorage_File::write(), CAS_PGTStorage_Db::write(), and CAS_PGTStorage_AbstractStorage::write().
static phpCAS::log | ( | $ | str | ) | [static, inherited] |
Logs a string in debug mode.
$str | the string to write |
Definition at line 490 of file CAS.php.
Referenced by phpCAS::trace(), phpCAS::traceBegin(), phpCAS::traceEnd(), and phpCAS::traceExit().
static phpCAS::setDebug | ( | $ | filename = '' |
) | [static, inherited] |
Set/unset debug mode
$filename | the name of the file used for logging, or FALSE to stop debugging. |
Definition at line 447 of file CAS.php.
References phpCAS::error(), and phpCAS::trace().
static phpCAS::trace | ( | $ | str | ) | [static, inherited] |
This method is used to log something in debug mode.
Definition at line 538 of file CAS.php.
References phpCAS::log().
Referenced by CAS_Client::__construct(), CAS_CurlRequest::_sendRequest(), CAS_Client::authError(), CAS_Client::callback(), CAS_Client::checkAuthentication(), phpCAS::error(), CAS_Client::forceAuthentication(), phpCAS::forceAuthentication(), CAS_Client::getURL(), CAS_Client::handleLogoutRequests(), CAS_Client::isAuthenticated(), CAS_Client::logout(), CAS_ProxiedService_Http_Abstract::makeRequest(), CAS_ProxiedService_Imap::open(), CAS_CookieJar::parseCookieHeader(), CAS_PGTStorage_File::read(), CAS_PGTStorage_Db::read(), CAS_Client::redirectToCas(), CAS_Client::renameSession(), CAS_Client::renewAuthentication(), CAS_Client::retrievePT(), phpCAS::setDebug(), CAS_Client::setSessionAttributes(), CAS_CookieJar::storeCookies(), CAS_Client::validatePGT(), CAS_Client::validatePT(), CAS_Client::validateSA(), CAS_Client::validateST(), and CAS_Client::wasPreviouslyAuthenticated().
static phpCAS::traceBegin | ( | ) | [static, inherited] |
This method is used to indicate the start of the execution of a function in debug mode.
Definition at line 546 of file CAS.php.
References phpCAS::log().
Referenced by CAS_PGTStorage_File::__construct(), CAS_PGTStorage_Db::__construct(), CAS_PGTStorage_AbstractStorage::__construct(), CAS_Client::__construct(), CAS_CurlRequest::_sendRequest(), CAS_Client::authError(), CAS_Client::buildSAMLPayload(), CAS_Client::callback(), CAS_Client::checkAuthentication(), phpCAS::checkAuthentication(), phpCAS::client(), CAS_PGTStorage_Db::createTable(), CAS_Client::forceAuthentication(), phpCAS::forceAuthentication(), CAS_PGTStorage_File::getPGTIouFilename(), phpCAS::getProxiedService(), CAS_Client::getServerLoginURL(), CAS_Client::getServerProxyValidateURL(), CAS_Client::getServerSamlValidateURL(), CAS_Client::getServerServiceValidateURL(), CAS_Client::getURL(), CAS_Client::handleLogoutRequests(), CAS_PGTStorage_File::init(), CAS_PGTStorage_Db::init(), CAS_Client::isAuthenticated(), CAS_Client::logout(), phpCAS::logout(), phpCAS::logoutWithRedirectService(), phpCAS::logoutWithRedirectServiceAndUrl(), phpCAS::logoutWithUrl(), CAS_ProxiedService_Imap::open(), CAS_CookieJar::parseCookieHeaders(), phpCAS::proxy(), CAS_PGTStorage_File::read(), CAS_PGTStorage_Db::read(), CAS_Client::redirectToCas(), CAS_Client::renameSession(), CAS_Client::renewAuthentication(), CAS_Client::retrievePT(), CAS_ProxiedService_Http_Abstract::send(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setCasServerCACert(), phpCAS::setExtraCurlOption(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setNoCasServerValidation(), phpCAS::setNoClearTicketsFromUrl(), phpCAS::setPGTStorage(), phpCAS::setPGTStorageDb(), phpCAS::setPGTStorageFile(), phpCAS::setServerLogoutURL(), phpCAS::setServerProxyValidateURL(), phpCAS::setServerSamlValidateURL(), phpCAS::setServerServiceValidateURL(), CAS_Client::setSessionAttributes(), CAS_Client::validatePGT(), CAS_Client::validatePT(), CAS_Client::validateSA(), CAS_Client::validateST(), CAS_Client::wasPreviouslyAuthenticated(), CAS_PGTStorage_File::write(), and CAS_PGTStorage_Db::write().
static phpCAS::traceEnd | ( | $ | res = '' |
) | [static, inherited] |
This method is used to indicate the end of the execution of a function in debug mode.
$res | the result of the function |
Definition at line 585 of file CAS.php.
References phpCAS::log().
Referenced by CAS_PGTStorage_File::__construct(), CAS_PGTStorage_Db::__construct(), CAS_PGTStorage_AbstractStorage::__construct(), CAS_Client::__construct(), CAS_CurlRequest::_sendRequest(), CAS_Client::buildSAMLPayload(), CAS_Client::checkAuthentication(), phpCAS::checkAuthentication(), phpCAS::client(), CAS_PGTStorage_Db::createTable(), CAS_Client::forceAuthentication(), CAS_PGTStorage_File::getPGTIouFilename(), phpCAS::getProxiedService(), CAS_Client::getServerLoginURL(), CAS_Client::getServerProxyValidateURL(), CAS_Client::getServerSamlValidateURL(), CAS_Client::getServerServiceValidateURL(), CAS_Client::getURL(), CAS_Client::handleLogoutRequests(), CAS_PGTStorage_File::init(), CAS_PGTStorage_Db::init(), CAS_Client::isAuthenticated(), phpCAS::logout(), phpCAS::logoutWithRedirectService(), phpCAS::logoutWithRedirectServiceAndUrl(), phpCAS::logoutWithUrl(), CAS_CookieJar::parseCookieHeaders(), phpCAS::proxy(), CAS_PGTStorage_File::read(), CAS_PGTStorage_Db::read(), CAS_Client::renameSession(), CAS_Client::renewAuthentication(), CAS_Client::retrievePT(), CAS_ProxiedService_Http_Abstract::send(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setCasServerCACert(), phpCAS::setExtraCurlOption(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setNoCasServerValidation(), phpCAS::setNoClearTicketsFromUrl(), phpCAS::setPGTStorage(), phpCAS::setPGTStorageDb(), phpCAS::setPGTStorageFile(), phpCAS::setServerLogoutURL(), phpCAS::setServerProxyValidateURL(), phpCAS::setServerSamlValidateURL(), phpCAS::setServerServiceValidateURL(), CAS_Client::setSessionAttributes(), CAS_Client::validatePGT(), CAS_Client::wasPreviouslyAuthenticated(), CAS_PGTStorage_File::write(), and CAS_PGTStorage_Db::write().
static phpCAS::traceExit | ( | ) | [static, inherited] |
This method is used to indicate the end of the execution of the program
Definition at line 603 of file CAS.php.
References phpCAS::log().
Referenced by CAS_Client::authError(), CAS_Client::callback(), phpCAS::error(), CAS_Client::handleLogoutRequests(), CAS_Client::isAuthenticated(), CAS_Client::logout(), and CAS_Client::redirectToCas().