A cached version of CDbAuthManager.
Removes cache automatically on revoke and assign to avoid old rules governing Auth requests.
Versions ¶
0.2 ¶
- Now working as intended.
- All users of 0.1 should upgrade to this version.
- Fixed bug where cache wasn't deleted on assign/revoke
- Fixed bug where cache always set to to true regardless of Auth result.
Requirements ¶
Yii 1.1
Use of CCache for caching
Usage ¶
config.php
~~~
import=>array(
'ext.ECachedDbAuthManager',
),
...
'authManager'=>array(
'class'=>'ext.ECachedDbAuthManager',
'cacheID'=>'authCache',
),
~~~
Params
~~~
$cacheId
$cachingDuration
~~~
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.