Releases: PhpGt/Csrf
Static properties dropped on non-static TokenStore classes
TokenStore classes were currently not programmed in accordance with the StyleGuide (mixed static and non-static members).
This release changes that and is potentially backwards breaking.
Bump dependencies
Updated dev dependencies a few times since last release.
Works well with WebEngine
This release mainly contains compatibility enhancements with WebEngine.
The functionality is kept the same, but all post data must be passed into the processAndVerify function, rather than relying on superglobals.
Update Dom namespaces
The PhpGt/Dom repository changed its namespaces to become consistent with the whole of WebEngine. This was a backwards breaking change, which has been fixed in this release.
ArrayTokenStore
The abstract TokenStore
class defines how Csrf tokens can be handled. This release includes the ArrayTokenStore
mechanism for saving an easily serialisable data structure to your own persistent storage mechanism, such as the session.
Refactoring, CI, docs
Merge pull request #36 from PhpGt/35-namespaces Refactor namespaces for consistency. Closes #35.
Array-based token store for session storage
Merge pull request #1 from j4m3s/master Initial code