Releases: dereuromark/cakephp-tinyauth
5.1.2
5.1.1
5.1.0
Improvements
Allow grouping of commands now:
tiny_auth:
tiny_auth add
tiny_auth sync
Full Changelog: 5.0.0...5.1.0
5.0.0
Improvements
Removed all old Cake (v3) legacy code and Auth component.
It now uses only the 2 new plugins and further extends and improves those in usability.
The docs have been simplified.
4.5.3
4.5.2
4.5.1
Fixes
Removed deprecation usage.
4.5.0
Improvements
- Added caching capability to PrimaryKeySession authenticator.
When using this caching layer to avoid expensive DB lookups, make sure to manually invalidate that cache every time a user's (session related) data changes using SessionCache wrapper object.
-
Improved ForbiddenCakeRedirectHandler to not redirect for extension routed URLs - those non-HTTP (e.g. JSON/XML/CSV) requests should never redirect and directly respond in the same format.
-
Refactored AuthPanel. It now includes the identity for quick lookup, as well the authenticator responsible for the log in.
4.4.1
Fixes
Relaxed return type for identity() to also support non-Entity types, e.g. array Identity content.
ArrayAccess is only supported, though, if together with Traversable or Countable.
4.4.0
Improvements
- Added PrimaryKeySessionAuthenticator until a native adaption becomes available.
- Added ForbiddenCakeRedirect with an
unauthorizedMessageto be set as error flash message. - Provide
AuthUser::identity()convenience method to access the entity directly, asAuthUser::user()returns array for BC reasons