Authorization 3.0 contains new features and a few breaking changes.
The following interfaces now have appropriate parameter and return types added:
AuthorizationServiceInterface
IdentityInterface
BeforePolicyInterface
RequestPolicyInterface.php
ResolverInterface
applyScope, can and canResult¶The following interface methods have been adjusted to pass on multiple optional arguments.
- IdentityInterface::applyScope
- AuthorizationServiceInterface::applyScope
- AuthorizationServiceInterface::can
- AuthorizationServiceInterface::canResult
AuthorizationService::resultTypeCheck - has been replaced with an assert() call