I've been integrating that within my prooph application and needed to slightly change this module.
Most important change is that zfc-common doesn't contain references to the identity anymore. The concept of an identity provider has been removed. It is therefore up to this plugin to get the identity and provide it as an argument to the isGranted method.
For now I have chosen to use AuthenticationService as a melanism for that.
What would we need to do to provide compatibility for both versions?
Note: Next version is still a PR
I've been integrating that within my prooph application and needed to slightly change this module.
Most important change is that zfc-common doesn't contain references to the identity anymore. The concept of an identity provider has been removed. It is therefore up to this plugin to get the identity and provide it as an argument to the
isGranted
method.For now I have chosen to use AuthenticationService as a melanism for that.
What would we need to do to provide compatibility for both versions?
This becomes.
Should the factory return based on some difference? I know ZfcRbac\Service\AuthorizationServiceInterface will be new for example.