當前位置: 首頁>>代碼示例>>PHP>>正文


PHP SimpleSAML_Utilities::maskErrors方法代碼示例

本文整理匯總了PHP中SimpleSAML_Utilities::maskErrors方法的典型用法代碼示例。如果您正苦於以下問題:PHP SimpleSAML_Utilities::maskErrors方法的具體用法?PHP SimpleSAML_Utilities::maskErrors怎麽用?PHP SimpleSAML_Utilities::maskErrors使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SimpleSAML_Utilities的用法示例。


在下文中一共展示了SimpleSAML_Utilities::maskErrors方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: receiveRequest

 /**
  * Receive an incoming request.
  *
  * This function never returns.
  */
 public function receiveRequest()
 {
     SimpleSAML_Utilities::maskErrors(E_NOTICE | E_STRICT);
     $request = $this->server->decodeRequest();
     if (!in_array($request->mode, array('checkid_immediate', 'checkid_setup'), TRUE)) {
         $this->sendResponse($this->server->handleRequest($request));
     }
     $state = array('request' => $request);
     $this->processRequest($state);
 }
開發者ID:hukumonline,項目名稱:yii,代碼行數:15,代碼來源:Server.php

示例2: dirname

<?php

/*
 * Disable strict error reporting, since the OpenID library
 * used is PHP4-compatible, and not PHP5 strict-standards compatible.
 */
SimpleSAML_Utilities::maskErrors(E_STRICT);
if (defined('E_DEPRECATED')) {
    /* PHP 5.3 also has E_DEPRECATED. */
    SimpleSAML_Utilities::maskErrors(constant('E_DEPRECATED'));
}
/* Add the OpenID library search path. */
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . '/lib');
require_once 'Auth/OpenID/AX.php';
require_once 'Auth/OpenID/SReg.php';
require_once 'Auth/OpenID/Server.php';
require_once 'Auth/OpenID/ServerRequest.php';
/**
 * Authentication module which acts as an OpenID Consumer
 *
 * @author Andreas Åkre Solberg, <andreas.solberg@uninett.no>, UNINETT AS.
 * @package simpleSAMLphp
 * @version $Id$
 */
class sspmod_openid_Auth_Source_OpenIDConsumer extends SimpleSAML_Auth_Source
{
    /**
     * Static openid target to use.
     *
     * @var string|NULL
     */
開發者ID:danielkjfrog,項目名稱:docker,代碼行數:31,代碼來源:OpenIDConsumer.php

示例3: dirname

<?php

/*
 * Disable strict error reporting, since the OpenID library
 * used is PHP4-compatible, and not PHP5 strict-standards compatible.
 */
SimpleSAML_Utilities::maskErrors(E_STRICT);
/* Add the OpenID library search path. */
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . '/lib');
require_once 'Auth/OpenID/AX.php';
require_once 'Auth/OpenID/SReg.php';
require_once 'Auth/OpenID/Server.php';
require_once 'Auth/OpenID/ServerRequest.php';
/**
 * Authentication module which acts as an OpenID Consumer
 *
 * @author Andreas Åkre Solberg, <andreas.solberg@uninett.no>, UNINETT AS.
 * @package simpleSAMLphp
 * @version $Id$
 */
class sspmod_openid_Auth_Source_OpenIDConsumer extends SimpleSAML_Auth_Source
{
    /**
     * Static openid target to use.
     *
     * @var string|NULL
     */
    private $target;
    /**
     * Custom realm to use.
     *
開發者ID:JVS-IS,項目名稱:ICONITO-EcoleNumerique,代碼行數:31,代碼來源:OpenIDConsumer.php


注:本文中的SimpleSAML_Utilities::maskErrors方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。