hearstuk/zf1-component-auth
Composer 安装命令:
composer require hearstuk/zf1-component-auth
包简介
The Zend_Auth component from Zend Framework 1.12 abstracted out for use with composer.
README 文档
README
The Zend_Auth component from Zend Framework 1.12 abstracted out for use with composer.
Storage
By default Zend_Auth uses Zend_Session for its persistent storage, but Zend_Session has not been configured as a dependency of this package. To use Zend_Session be sure to require it alongside this package:
"require": {
"hearstuk/zf1-component-auth": "*",
"hearstuk/zf1-component-session": "*"
}
You may instead opt to write your own persistent storage class by implementing Zend_Auth_Storage_Interface.
Adapter
There is no default auth adapter configured for Zend_Auth so it's up to you to configure one. The adapters shipped in this package each have their own requirements - Zend_Auth_Adapter_DbTable requires Zend_Db_Table, for example. You will need to include these dependencies with composer to use these adapters.
You may prefer to write your own adapter by implementing Zend_Auth_Adapter_Interface.
统计信息
- 总下载量: 810
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-09-19