コード例 #1
0
ファイル: FrameBase.php プロジェクト: aqg/crossphp
 /**
  * 解密会话
  *
  * @param string $key
  * @param bool $de
  * @return bool|mixed|string
  */
 protected function getAuth($key, $de = false)
 {
     $auth_type = $this->getConfig()->get('sys', 'auth');
     return HttpAuth::factory($auth_type, $this->http_auth_key)->get($key, $de);
 }
コード例 #2
0
ファイル: FrameBase.php プロジェクト: ss7247/crossphp
 /**
  * 解密会话
  *
  * @param string $key
  * @param bool $de
  * @return bool|mixed|string
  */
 protected function getAuth($key, $de = false)
 {
     return HttpAuth::factory($this->getConfig()->get('sys', 'auth'), $this->getUrlEncryptKey('auth'))->get($key, $de);
 }