ublaboo/simple-http-auth
最新稳定版本:v2.0.0
Composer 安装命令:
composer require ublaboo/simple-http-auth
包简介
Extension for Nette Framework: set user, password and presenters names to secure and they will be secured via simple http authentification
README 文档
README
SimpleHttpAuth
1, Install via composer
composer require ublaboo/simple-http-auth
2, Register extension in config.neon:
extensions: simpleHttpAuth: Ublaboo\SimpleHttpAuth\DI\SimpleHttpAuthExtension
3, Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - Module:Module:Presenter:
simpleHttpAuth:
username: admin
password: rbxpmYsPB6RSlqMIUV8i
presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter
统计信息
- 总下载量: 14.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-10