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

This package is not auto-updated.

Last update: 2024-04-13 14:23:53 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.