alphasquare / authmiddleware
There is no license information available for the latest version (dev-master) of this package.
Authentication Middleware for Slim PHP. Made for Mxious-src.
dev-master
2015-01-30 19:22 UTC
Requires
- jeremykendall/query-auth: ~3.0
This package is not auto-updated.
Last update: 2024-12-21 18:04:14 UTC
README
Authentication Middleware for Slim PHP framework, built for Mxious.
Installation
composer require "alphasquare/authmiddleware"
Usage
Add the middleware.:
$app->add(new \Auth\AuthMiddleware);
Then pass requests to it using the jeremykendall/query-auth documentation instructions. This takes care of authenticating all requests. All requests will be authenticated.