transparent() public static method

Perform transparent authentication.
public static transparent ( Horde_Auth_Application $auth_ob ) : mixed
$auth_ob Horde_Auth_Application The authentication object.
return mixed If authentication was successful, and no session exists, an array of data to add to the session. Otherwise returns false.
コード例 #1
0
ファイル: Application.php プロジェクト: DSNS-LAB/Dmail
 /**
  * Tries to transparently authenticate with the server and create a
  * session.
  *
  * @param Horde_Core_Auth_Application $auth_ob  The authentication object.
  *
  * @return boolean  Whether transparent login is supported.
  * @throws Horde_Auth_Exception
  */
 public function authTransparent($auth_ob)
 {
     $this->init();
     if ($result = Gollem_Auth::transparent($auth_ob)) {
         $this->_addSessVars($result);
         return true;
     }
     return false;
 }