Turnkey Authentication, Identity, and RBAC for Laminas and Zend Framework 3. Supports Doctrine and Middleware.
MPL-2.0 License
Published by Saeven over 1 year ago
Can dry up your code by wiring action guards right at the controller.
Published by Saeven over 1 year ago
Adds a strpos patch if the Cookie key is interpreted as a int.
Published by Saeven almost 2 years ago
Laminas-focused release.
Published by Saeven over 3 years ago
Next version moves to Laminas with 0.3
Published by Saeven almost 4 years ago
This release adds Zxcvbn password checking, a number of validation improvements, and starts the road toward PHP 7.4 with strong typehints, losing the 7.0 annotation baggage.
The added typehints have allowed me to relax some checks for weakness here and there.
This release also adds user-bound api tokens, a bin-packed uuid that you can use as a part of your external authentication needs.
Published by Saeven over 4 years ago
Session key handing has changed a bit in this version, not in their function, but in how they are passed around the objects. The goal was to simplify key handing for use with https://github.com/Saeven/circlical-behat-fixtures (plug! A great tool to automatically wire fixtures with your Behat tests!).
If you were previously accessing the lower-level getSessionKey
in your code, you'll want to rely on getRawSessionKey
instead.
This release also adds Role helpers, so that you can check for roles from your templates.
Published by Saeven over 4 years ago
In this version, and in those prior -- the Authentication Entity's session key parameter is base64 encoded in the constructor.
This unfortunately makes creating fixtures very painful -- this release essentially pins that mechanism.
In upcoming versions...
If you were using low-level entities instead of services, you will need to change your codebase just a bit.
The old setSessionKey
becomes setRawSessionKey
. Constructor invocations must base64 encode the session key at the instantiation point - the constructor will no longer do it. See tests for more.
Published by Saeven almost 7 years ago
Published by Saeven over 7 years ago
Published by Saeven almost 8 years ago
Adjusts a behavior where you could end up with a proliferation of auth cookies.
Published by Saeven about 8 years ago
See README for details.
Published by Saeven about 8 years ago
Functional build that's been changed to support ZF3's service manager, and mvc modules. Was made possible the recent support for zend-mvc, implemented by DoctrineModule. Stable module at this point, next step is to bring up code coverage.
Published by Saeven about 8 years ago
Published by Saeven over 8 years ago
This version works with Zend-MVC 2.7.
88 tests on 9 specs.