vclayton/unpecl-oauth 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vclayton/unpecl-oauth

最新稳定版本:v0.5.5

Composer 安装命令:

composer require vclayton/unpecl-oauth

包简介

Native PHP drop-in replacement for the PECL OAuth extension

关键字:

README 文档

README

Native PHP drop-in replacement for the PECL OAuth extension

Build Status

Debugging Info

There is a static OAuth::getDebugInfo() method that will return details about the most recent request. There will only be debug info if enableDebug() has been called.

/**
 * Returns debug info about the most recent fetch.
 * If no fetch has happened, debug info will be empty.
 * @param string $key  If given, return specific entry from debug info. Key is one of 'lastResponse', 'lastResponseInfo', 'lastResponseCode', or 'lastHeader'.
 * @return mixed  Returns a key/value array if key is not given, otherwise returns the specific key requested. If the key is not set, returns null.
 */
public static function getDebugInfo($key=null)

Running tests

The unmodified upstream PECL tests are in tests/upstream. The runtests script patches and munges them into a more phpunit-friendly form, then runs them.

TODO

  • The OAuthProvider class has no upstream compliance tests, so it is not yet implemented.
  • The setRequestEngine() call is currently ignored, only Curl is implemented.

Notes

How to checkout the source code for the PECL OAuth extension: svn co https://svn.php.net/repository/pecl/oauth

统计信息

  • 总下载量: 119.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-29