voodoo-doll / auth
此包的最新版本(1.0)没有可用的许可信息。
一个简单的库,用于创建账户以登录/登出
1.0
2014-05-28 07:33 UTC
Requires
- php: >=5.5.0
- voodoo-doll/model: 1.*
This package is not auto-updated.
Last update: 2024-09-24 07:42:28 UTC
README
#Voodoo\Doll\Auth
娃娃
在文件 /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