[FEATURE] Allow replacement of cookie implementation #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "21-use-sessionserviceinterface-in-middleware"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The implementation is now extracted into an interface.
That way it is easier to replace the concrete implementation for cookie
handling
with a custom one.
Relates: #21
Thanks for providing the PR.
Right now the CI fails, as the Interface doesn't define any of the methods used within the Middleware.
And that's correct, as the middleware was hard-wired to the cookie implementation, and only using methods provided by that implementation.
I currently do not see any need to use the general implementation. E.g. an implementation for FE or BE users wouldn't need a middleware in my opinion.
Maybe you can explain the actual use case to me? That way we can find a proper implementation.