validateAuth() 공개 메소드

These triggers are independent of the credentials.
public validateAuth ( ) : boolean
리턴 boolean True if the results of authenticate() are still valid.
예제 #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();
 }
예제 #2
0
파일: Application.php 프로젝트: horde/horde
 /**
  * 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;
     }
 }
예제 #3
0
 /**
  */
 public function validateAuth()
 {
     return $this->_base->validateAuth();
 }