https://github.com/olegkunitsyn/cookiestorage
Auth Cookie Storage for Zend Framework 1.x
https://github.com/olegkunitsyn/cookiestorage
security
Last synced: 9 months ago
JSON representation
Auth Cookie Storage for Zend Framework 1.x
- Host: GitHub
- URL: https://github.com/olegkunitsyn/cookiestorage
- Owner: OlegKunitsyn
- License: apache-2.0
- Created: 2013-01-17T16:47:31.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-24T12:29:15.000Z (over 13 years ago)
- Last Synced: 2023-04-03T23:43:33.934Z (over 3 years ago)
- Topics: security
- Language: PHP
- Size: 116 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Auth Cookie Storage class for Zend Framework 1.x
The class provides Identity storage on client side by implementing standard Zend_Auth_Storage_Interface.
Features
* For shared-nothing architectures
* 128, 256, ... bit encryption
* Public key expires on browser close
Requires
* PHP 5
* Zend Framework 1.x
* Mcrypt
Usage
The line
Zend_Auth::getInstance()->setStorage(new Auth_Storage_Cookie($secret));
replaces default Session storage in your application. See use case in the demo folder.