-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aura.Session compatibility #86
Comments
I think that would mean separate interface packages and therefore 3.x bump. |
Yes, if it breaks compatibility, it'd have bump to a new major version. I'm ok with that. ;-) |
@cxj looking for this now ? https://github.com/friendsofaura/FOA.Auth_Session_Bundle ( 3 years old, so not sure if all is working as expected. Have not tested those now ) There is already one ;-) . |
I think if Aura.Auth just used a compatible API (PHP interface) to its included Session class, then users of it could optionally and easily plug in Aura.Session to get its greater functionality. That would allow Aura.Auth to remain a standalone and not be dependent on anything. |
@cxj I do agree. See discussion on google group regarding the topic : https://groups.google.com/d/msg/auraphp/dVpSOV6RnM4/HWynJROLm-gJ . |
It appears that Aura.Session's Aura.Auth:
Aura.Session:
|
Aura.Session strangely does not have an interface definition for the Aura\Auth:
Aura\Session:
|
A problem might be the constructors for the
Aura.Session:
|
Another problem is that
|
Constructor is never a problem if the interfaces satisfies. We can create a separate interface package as https://github.com/auraphp/Aura.Filter_Interface . And this doesn't need all those methods, but very limited / commonly used. Rest of it can be in package level itself. |
It does not appear that If I understand correctly, to do what you are suggesting, there needs to be a new auraphp package named Or perhaps there should be just one auraphp
Then |
May be we need to ping @pmjones regarding the thoughts expressed here. So he can create the repository. I don't have access for it. |
It would be nice if Aura.Auth was "plug compatible" with Aura.Session, so that the included session management could be easily replaced and enhanced by the more featured Aura.Session.
The text was updated successfully, but these errors were encountered: