validateAuth() public method

These triggers are independent of the credentials.
public validateAuth ( ) : boolean
return boolean True if the results of authenticate() are still valid.
Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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;
     }
 }
Ejemplo n.º 3
0
 /**
  */
 public function validateAuth()
 {
     return $this->_base->validateAuth();
 }