Download the PHP package rcs_us/slim-middleware-basic-acl without Composer
On this page you can find all versions of the php package rcs_us/slim-middleware-basic-acl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rcs_us/slim-middleware-basic-acl
More information about rcs_us/slim-middleware-basic-acl
Files in rcs_us/slim-middleware-basic-acl
Download rcs_us/slim-middleware-basic-acl
More information about rcs_us/slim-middleware-basic-acl
Files in rcs_us/slim-middleware-basic-acl
Vendor rcs_us
Package slim-middleware-basic-acl
Short Description PSR-7 HTTP Authentication Access Middleware
License MIT
Package slim-middleware-basic-acl
Short Description PSR-7 HTTP Authentication Access Middleware
License MIT
Please rate this library. Is it a good library?
Informations about the package slim-middleware-basic-acl
PSR-7 HTTP Authentication ACL Middleware
This middleware provides a very simple way to implement ACL in a PSR-7 environment.
It has been tested with Slim Framework using the [PSR-7 Basic Auth Middleware] provided by tuupola (https://github.com/tuupola/slim-basic-auth).
Install
Install latest version using composer.
Usage
The middleware accepts two possible parameters.
- An array of one or more usernames allowed to access the route. This compares against the value that is ultimately stored in $_SERVER["PHP_AUTH_USER"] | $request->getServerParams()["PHP_AUTH_USER"] .
- A callable that can do more complicated comparisons on $_SERVER["PHP_AUTH_USER"] | $request->getServerParams()["PHP_AUTH_USER"] .
All versions of slim-middleware-basic-acl with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.5 || ^7.0 || ^8.0
The package rcs_us/slim-middleware-basic-acl contains the following files
Loading the files please wait ....