authorization
authorization copied to clipboard
PSR7 Middleware for authorization
I have to update the identity in my code, so I am using $_identity = $this->Authentication->getIdentity(); $data = $_identity->getOriginalData(); if ($data instanceof User) { $data->x = [1]; } $this->Authentication->setIdentity($_identity); I...
When using AuthorizationMiddleware and RequestAuthorizationMiddleware, would it be possible to require that both authorizations are performed and raise an exception if not? If I understand correctly, it is not the...