ixis/codeception-module-http-auth
Composer 安装命令:
composer require ixis/codeception-module-http-auth
包简介
A Codeception module for passing HTTP authentication.
README 文档
README
A Codeception module for passing HTTP authentication
This simple Codeception module allows PhpBrowser to automatically pass HTTP authentication based on configuration.
Install with Composer and Packagist
{
"require": {
"codeception/codeception": "1.8.*",
"ixis/codeception-module-http-auth": "dev-master"
}
}
Example suite configuration
modules:
enabled:
- PhpBrowser
- HttpAuth
config:
PhpBrowser:
url: 'http://example.com/protected/'
HttpAuth:
username: user
password: password
Codeception 2
This module isn't useful for Codeception 2.x, as HTTP authentication can be configured in PhpBrowser directly:
modules:
enabled:
- PhpBrowser
config:
PhpBrowser:
url: 'http://example.com/protected/'
auth: ['testuser', 'testpassword']
统计信息
- 总下载量: 186
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-30