These triggers are independent of the credentials.
public validateAuth ( ) : boolean | ||
리턴 | boolean | True if the results of authenticate() are still valid. |
/** * Checks for triggers that may invalidate the current auth. * These triggers are independent of the credentials. * * @return boolean True if the results of authenticate() are still valid. */ public function validateAuth() { if ($this->_base) { return $this->_base->validateAuth(); } return $this->hasCapability('validate') ? $GLOBALS['registry']->callAppMethod($this->_app, 'authValidate', array('noperms' => true)) : parent::validateAuth(); }
/** * Checks for triggers that may invalidate the current auth. * These triggers are independent of the credentials. * * @return boolean True if the results of authenticate() are still valid. */ public function validateAuth() { if ($this->_base) { return $this->_base->validateAuth(); } try { return $this->hasCapability('validate') ? $GLOBALS['registry']->callAppMethod($this->_app, 'authValidate', array('noperms' => true)) : parent::validateAuth(); } catch (Horde_Exception_AuthenticationFailure $e) { return false; } }
/** */ public function validateAuth() { return $this->_base->validateAuth(); }