当前位置: 首页>>代码示例>>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;未经允许,请勿转载。