ngabor84/guzzle-wsse-middleware
Composer 安装命令:
composer require ngabor84/guzzle-wsse-middleware
包简介
WSSE authentication middleware for Guzzle HTTP Client
关键字:
README 文档
README
Guzzle WSSE Middleware
This authentication middleware add WSSE sign functionality to Guzzle Http Client.
Installation
composer require ngabor84/guzzle-wsse-middleware
Usage
<?php $wsseMiddleware = new \Guzzle\Http\Middleware\WsseMiddleware($username, $password); $stack = \GuzzleHttp\HandlerStack::create(); $stack->push($wsseMiddleware); $client = new \GuzzleHttp\Client(['handler' => $stack]); // Important: set the auth option to wsse to activate the middleware $response = $client->get('http://www.8points.de', ['auth' => 'wsse']);
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-06