oauth-subscriber:使用OAuth 1.0(Guzzle 6+)签署Guzzle请求

时间:2021-05-04 10:52:01
【文件属性】:
文件名称:oauth-subscriber:使用OAuth 1.0(Guzzle 6+)签署Guzzle请求
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-04 10:52:01
PHP Guzzle OAuth订阅者 使用OAuth 1.0签署HTTP请求。 使用使用者密钥,使用者密钥,OAuth令牌和OAuth密钥对请求进行签名。 此版本仅适用于Guzzle 6.0及更高版本! 正在安装 可以使用Composer安装该项目。 将以下内容添加到您的composer.json中: { "require" : { "guzzlehttp/oauth-subscriber" : "^0.5" } } 使用订户 这是显示如何向Twitter REST API发送经过身份验证的请求的示例: use GuzzleHttp \ Client ; use GuzzleHttp \ HandlerStack ; use GuzzleHttp \ Subscriber \ Oauth \ Oauth1 ; $ stack = HandlerStack :
【文件预览】:
oauth-subscriber-master
----README.rst(3KB)
----CHANGELOG.md(341B)
----LICENSE(1KB)
----composer.json(800B)
----src()
--------Oauth1.php(11KB)

网友评论