Home
last modified time | relevance | path

Searched refs:phpCAS (Results 1 – 23 of 23) sorted by relevance

/plugin/authssocas/vendor/apereo/phpcas/source/ !
H A DCAS.php276 class phpCAS class
352 phpCAS :: traceBegin();
354phpCAS :: error(self::$_PHPCAS_INIT_CALL['method'] . '() has already been called (at ' . self::$_P…
373 phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
375 phpCAS :: traceEnd();
407 phpCAS :: traceBegin();
409phpCAS :: error(self::$_PHPCAS_INIT_CALL['method'] . '() has already been called (at ' . self::$_P…
428 phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
430 phpCAS :: traceEnd();
468phpCAS :: trace('START ('.date("Y-m-d H:i:s").') phpCAS-' . PHPCAS_VERSION . ' ******************'…
[all …]
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/PGTStorage/ !
H A DFile.php117 phpCAS::traceBegin();
128 phpCAS::error('an absolute path is needed for PGT storage to file');
134 phpCAS::error('an absolute path is needed for PGT storage to file');
143 phpCAS::traceEnd();
158 phpCAS::traceBegin();
165 phpCAS::traceEnd();
182 phpCAS::traceBegin();
185 phpCAS::trace("Sha256 filename:" . $filename);
186 phpCAS::traceEnd();
203 phpCAS::traceBegin();
[all …]
H A DAbstractStorage.php69 phpCAS::traceBegin();
71 phpCAS::error(
75 phpCAS::traceEnd();
92 phpCAS::error(__CLASS__.'::'.__FUNCTION__.'() should never be called');
105 phpCAS::error(__CLASS__.'::'.__FUNCTION__.'() should never be called');
200 phpCAS::error(__CLASS__.'::'.__FUNCTION__.'() should never be called');
215 phpCAS::error(__CLASS__.'::'.__FUNCTION__.'() should never be called');
H A DDb.php142 phpCAS::traceBegin();
167 phpCAS::traceEnd();
181 phpCAS::traceBegin();
199 phpCAS::error('Database connection error: ' . $e->getMessage());
203 phpCAS::traceEnd();
305 phpCAS::traceBegin();
331 phpCAS::error('error creating PGT storage table: ' . $e->getMessage());
337 phpCAS::traceEnd();
351 phpCAS::traceBegin();
375 phpCAS::error('error writing PGT to database: ' . $e->getMessage());
[all …]
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/ !
H A DClient.php80 $str = str_replace('__PHPCAS_VERSION__', phpCAS::getVersion(), $str);
105 if (!phpCAS::getVerbose()) {
137 if (!phpCAS::getVerbose()) {
193 if (phpCAS::getVerbose()) {
229 phpCAS::traceBegin();
237 phpCAS::traceEnd();
963 phpCAS::traceBegin();
974 phpCAS :: trace("Starting a new session " . session_id());
980 phpCAS :: trace("Session is authenticated as: " . $this->getSessionValue('user'));
982 phpCAS :: trace("Session is not authenticated");
[all …]
H A DAuthenticationException.php72 phpCAS::traceBegin();
76 if (phpCAS::getVerbose()) {
84 phpCAS::trace($messages[] = 'CAS URL: '.$cas_url);
85 phpCAS::trace($messages[] = 'Authentication failure: '.$failure);
87 phpCAS::trace($messages[] = 'Reason: no response from the CAS server');
90 phpCAS::trace($messages[] = 'Reason: bad response from the CAS server');
94 phpCAS::trace($messages[] = 'Reason: CAS error');
99 phpCAS::trace($messages[] = 'Reason: no CAS error');
101 phpCAS::trace($messages[] = 'Reason: ['.$err_code.'] CAS error: '.$err_msg);
106 phpCAS::trace($messages[] = 'CAS response: '.$cas_response);
[all …]
H A DProxyChain.php82 phpCAS::trace(
86 phpCAS::trace(
94 phpCAS::trace(
98 phpCAS::trace(
107 phpCAS::trace("Proxy chain matches");
111 phpCAS::trace("Proxy chain skipped: size mismatch");
H A DCookieJar.php87 phpCAS::trace($cookie['name'].' -> '.$cookie['value']);
137 phpCAS::traceBegin();
145 phpCAS::traceEnd($cookies);
180 phpCAS::trace("Cookie Line: $line");
/plugin/authcas/ !
Dauth.php47 \phpCAS::setLogger($this->getConf("logFile"));
49 else \phpCAS::setLogger();
51 \phpCAS::setVerbose(false);
55 …\phpCAS::client(CAS_VERSION_2_0, $this->getConf('server'), (int) $this->getConf('port'), $this->ge…
66 \phpCAS::setCacheTimesForAuthRecheck(1);
68 \phpCAS::setCacheTimesForAuthRecheck(-1);
72 \phpCAS::setCasServerCert($this->getConf('cert'));
74 \phpCAS::setCasServerCACert($this->getConf('cacert'));
76 \phpCAS::setNoCasServerValidation();
80 \phpCAS::handleLogoutRequests(true, $this->getConf('handlelogoutrequestTrustedHosts'));
[all …]
DREADME.md6 to provide authentication using [Apereo CAS phpCAS](https://github.com/apereo/phpCAS).
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/ProxyChain/ !
H A DAllowedList.php79 phpCAS::traceBegin();
81 phpCAS::trace("No proxies were found in the response");
82 phpCAS::traceEnd(true);
85 phpCAS::trace("Proxies are not allowed");
86 phpCAS::traceEnd(false);
90 phpCAS::traceEnd($res);
105 phpCAS::traceBegin();
108 phpCAS::trace("Checking chain ". $count++);
110 phpCAS::traceEnd(true);
114 phpCAS::trace("No proxy chain matches.");
[all …]
H A DAny.php60 phpCAS::trace("Using CAS_ProxyChain_Any. No proxy validation is performed.");
/plugin/authssocas/ !
H A Dauth.php82 phpCAS::setLogger($logger);
83 phpCAS::setVerbose(true);
93 phpCAS::client(
102 phpCAS::setCacheTimesForAuthRecheck(-1);
104 phpCAS::setCacheTimesForAuthRecheck(1);
113 phpCAS::setCasServerCACert($cas_cacert_file);
115 phpCAS::setNoCasServerValidation();
120 phpCAS::handleLogoutRequests(true, $this->getOption('handlelogoutrequestTrustedHosts'));
122 phpCAS::handleLogoutRequests(false);
163 phpCAS::setFixedServiceURL($login_url);
[all …]
H A DREADME.md15 ⚠️ Do not install phpCAS separately — it is already included in the plugin.
38 - Includes the **phpCAS** library
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/ServiceBaseUrl/ !
H A DAllowedListDiscovery.php139 phpCAS::traceBegin();
141 phpCAS::trace("Discovered server base URL: " . $result);
143 phpCAS::trace("Server base URL is allowed");
144 phpCAS::traceEnd(true);
147 phpCAS::trace("Server base URL is not allowed, using default: " . $result);
148 phpCAS::traceEnd(false);
H A DStatic.php64 phpCAS::traceBegin();
65 phpCAS::trace("Returning static server name: " . $this->_name);
66 phpCAS::traceEnd(true);
/plugin/ssocas/ !
Daction.php119 $cas_auth_client = phpCAS::forceAuthentication();
122 $casuser = phpCAS::getUser();
167 if (($this->getConf('caslogout')) && (phpCAS::checkAuthentication())) {
168 phpCAS::logoutWithRedirectServiceAndUrl($this->_self(), $this->_self());
182phpCAS::client($this->getConf('version').'.0',$this->getConf('server'),(integer) $this->getConf('p…
185 phpCAS::setNoCasServerValidation();
189 phpCAS::setCasServerCert($this->getConf('servercert'));
193 phpCAS::setCasServerCACert($this->getConf('servercacert'));
200 if (! phpCAS::checkAuthentication()) {
/plugin/authplaincas/ !
Dauth.php161 if($this->_getOption("logFile")){ phpCAS::setDebug($this->_getOption("logFile"));}
168phpCAS::client($server_version, $this->_getOption('server'), (int) $this->_getOption('port'), $thi…
175 phpCAS::setCacheTimesForAuthRecheck(-1);
180 phpCAS::setCacheTimesForAuthRecheck(1);
184 phpCAS::setCasServerCert($this->_getOption('cert'));
187 phpCAS::setCasServerCACert($this->_getOption('cacert'));
190 phpCAS::setNoCasServerValidation();
194 phpCAS::handleLogoutRequests(true, $this->_getOption('handlelogoutrequestTrustedHosts'));
197 phpCAS::handleLogoutRequests(false);
248 phpCAS::setFixedServiceURL($login_url);
[all …]
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/ProxiedService/ !
H A DImap.php204 phpCAS::traceBegin();
208 phpCAS::trace('opening IMAP mailbox `'.$this->_mailbox.'\'...');
214 phpCAS::trace('ok');
216 phpCAS::trace('could not open mailbox');
219 phpCAS::trace($message);
223 phpCAS::traceEnd();
H A DAbstract.php142 phpCAS::initializeProxiedService($this);
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/Request/ !
H A DCurlRequest.php65 phpCAS::traceBegin();
77 phpCAS::trace('curl_exec() failed');
84 phpCAS::trace("Response Body: \n".$buf."\n");
91 phpCAS::traceEnd($res);
122 phpCAS::trace('CURL: Set CURLOPT_CAINFO ' . $this->caCertPath);
166 curl_setopt($ch, CURLOPT_USERAGENT, 'phpCAS/' . phpCAS::getVersion());
/plugin/authssocas/vendor/apereo/phpcas/ !
H A DREADME.md1 phpCAS chapter
4 phpCAS is an authentication library that allows PHP applications to easily authenticate
9 https://apereo.github.io/phpCAS/
13 https://apereo.github.io/phpCAS/api/
16 [![Test](https://github.com/apereo/phpCAS/actions/workflows/test.yml/badge.svg)](https://github.com…
/plugin/authssocas/vendor/apereo/phpcas/source/CAS/ProxiedService/Http/ !
H A DAbstract.php147 phpCAS::traceBegin();
161 phpCAS::traceEnd();
214 phpCAS::trace($message);
229 phpCAS::trace('Performing proxied service request to \'' . $url . '\'');
233 phpCAS::trace($message);
243 phpCAS::trace('Found redirect:' . $redirectUrl);