Skip to content

1.4.0

Closed Apr 7, 2022 100% complete

Changed

This release modifies the BasicAccess class to allow receiving either a callable factory that will generate an empty PSR-17 response OR a PSR-17 ResponseFactoryInterface instance. In the case of the callable factory, internally it will now be wrapped in a decorator that implements ResponseFactoryInterface.

This change means that if a PSR-17 Respon…

Changed

This release modifies the BasicAccess class to allow receiving either a callable factory that will generate an empty PSR-17 response OR a PSR-17 ResponseFactoryInterface instance. In the case of the callable factory, internally it will now be wrapped in a decorator that implements ResponseFactoryInterface.

This change means that if a PSR-17 ResponseFactoryInterface service is configured in your application, it will now be used to generate unauthorized responses.

Loading