voodoo-doll/auth
Composer 安装命令:
composer require voodoo-doll/auth
包简介
A simple library to create account to login/lgout
README 文档
README
#Voodoo\Doll\Auth
Doll
Add the code below in the file: /App/_conf/Doll.conf.php
[Auth]
dbAlias = "MyDB"
accountModel = "\Model\Account" ; If the class is extended, set the name of the class so Auth\Session can reference the right class
sessionTTL = 2592000 ; Session time to live. 30 days online
sessionDriver = "\Voodoo\Doll\Auth\SessionDriver\DB" ; DB|Redis or full namespace
sessionName = "c_" ; Session cookie name
redisDbAlias = "MyRedis" ; The DB alias for Redis Session
liveSessionTTL = 300 ; Live session TTL
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-05-28